#NEWLINE# def form_valid( self , form ) : #NEWLINE# #INDENT# for actionkey in self . form_model . actions : #NEWLINE# #INDENT# action = action_registry . get ( actionkey ) #NEWLINE# if ( action is None ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# action ( self . form_model , form ) #NEWLINE# #UNINDENT# messages . success ( self . request , _ ( 'Thank you for submitting this form.' ) ) #NEWLINE# return super ( DynamicFormView , self ) . form_valid ( form )