I have a checkbox field, and i want if user checks that field then it should ask are you sure,if press ok then it should continue otherwise not?
Tell me more
×
Salesforce Stack Exchange is a question and answer site for
Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.
|
|
you should call a javascript function on checkbox's onclick event like mentioned below -
|
|||
|
|
|
You can do this as follows:
A couple of points to note: (1) I've assumed you only want the confirmation when the user checks the box, not when they clear it. (2) I've only tested this in chrome. |
|||||||||
|
