Add some HTML after validation (or submit)
-
Hi,
I basically want to display some HTML (and some javascript if possible) after admin user have submitted some fields in a section, included in a tab.
I processed what I needed in the validation_foo_bar () function and everything is fine. I know I can set a success message with :
$this->setSettingNotice( __( ‘Import done! ‘) ,’updated’);But I need to put some HTML in the section.
Could you please point me in the right direction ? I was not able ton find/understand how to setup my callback function.
Related question : I did not find how to add my magic on Submission, only on Validation function. It this a good/bad practice and how, if possible, may I put my code on “submission” function ?
Thank you very much anyway for this great tool.
Phil
- The topic ‘Add some HTML after validation (or submit)’ is closed to new replies.