How to get the alert message after clicking on the submit button in UI design using bonita 7.0.3?

1
0
-1

I want a alert message after clicking the submit button, it should ask like this (Are you Sure You want to submit the task).
Can we get like this alert. Can anyone please help me.

2 answers

1
0
-1

It is not working. Can you please give me clearly.

Comments

Submitted by Sean McP on Sun, 10/11/2015 - 14:24

What do you mean it's not working? What have you done to make sure it works?

1
0
-1

One way to do this would be to have two buttons on the screen

first a piece of javascript

show alert
if cancel then exit
else
fire button two (which will then do the submit)

Button One - Submit - which is empty and visible. Attach an onclick javascript function

Button Two - Submit - which has all the necessary code and is hidden.

Clicking on the first button will fire the javascript which shows the javascript and based on the users response either stops or continues...

Otherwise you could create your own Custom Widget to do all the above...

regards

Notifications