Can we Show confirm dialogue (message) on Edit?
Archived from the Xataface Users forum.
muzafar — Mon Jan 16, 2012 5:26 am
Greetings,
can anyone please tell me, that how can I show confirm message i.e. “Are you sure you want to save the changes?” on edit form? I want to show this message when the user click on the save button in the edit form.
Kindly lead me.
Your help will be greatly appreciated.
Thanks.
shannah — Mon Jan 16, 2012 11:46 am
You could just add this via javascript. In any block or slot on the form page you could insert a snippet like:
- Code: Select all
jQuery('#new_Course_record_form').submit(function(){ if ( confirm('Are you sure you want to do this?')){ return true; } else { return false; } });