Project

General

Profile

Confirmation dialog (YES|NO)message for Submit Button on form issues (edit)

Added by Rauzan Fikri over 8 years ago

Hi All,

Do you have experience to add confirmation dialog message(YES|NO) after submit button click in issues form or anything button ?

Thank you


Replies (1)

RE: Confirmation dialog (YES|NO)message for Submit Button on form issues (edit) - Added by Martin Denizet (redmine.org team member) over 8 years ago

Hello,

If I were you, i would:
1. Install a plugin to inject JS such as http://www.redmine.org/plugins/redmine_custom_js (Full disclosure, I wrote this plugin)
2. Inject JS such as:

$( "#form_id_here" ).submit(function( event ) {
  return confirm('Do you really want to submit the form?');
});

Related docs:
    (1-1/1)