Add OnClick event
add_action(‘frm_submit_button_action’, ‘your_function_name’); function your_function_name($form){ if($form->id == 5){ //change 5 to the ID of the form you would like this inserted in echo ‘ onclick=”do something”‘; } }Continue reading