Hi guys,
As the title suggests, is it possible to allow the user to submit the form to save it (the easy part) --- BUT on finally completing the form they tick a checkbox which will then email the admin on submit and display a different message?
This is useful as the form is large so they might come back to it a few times.
Thanks in advance for any help.
Regards
Mark
As the title suggests, is it possible to allow the user to submit the form to save it (the easy part) --- BUT on finally completing the form they tick a checkbox which will then email the admin on submit and display a different message?
This is useful as the form is large so they might come back to it a few times.
Thanks in advance for any help.
Regards
Mark
Hi Mark,
Yes, you can control actions or groups of actions using the Event Switcher action in the form On Submit event.
I did this for a large form recently by having a status column in the database that was either empty, 'saved', or 'submitted'
When 'empty' i.e. a new record, or saved then editing was allowed but once set to ;submitted' the record was locked and no further editing permitted.
Bob
Yes, you can control actions or groups of actions using the Event Switcher action in the form On Submit event.
I did this for a large form recently by having a status column in the database that was either empty, 'saved', or 'submitted'
When 'empty' i.e. a new record, or saved then editing was allowed but once set to ;submitted' the record was locked and no further editing permitted.
Bob
I got the Event Switcher working with the following example:
Thanks again Bob.
<?php
if ($form->data["model"]["field"] !=""){
return "success";
}else{
return "fail";
}
?>
Thanks again Bob.
This topic is locked and no more replies can be posted.