You need to target and change this form using hook_form_alter () as pointed out by @googletop
To disable sending, something like this in the user module will work:
<?php
function my_custom_module_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == 'webform_client_form_130') {
if ($thiscondition && $thatcondition){
unset($form['actions']['submit']);
}
}
}
?>
Same for the βpreviousβ button, you just need to find it in the array of forms
source
share