Dec 07, 2011, 1:43 PM
[CLOSED] Conditional Confirmation
Trying to find an example or combination of examples for my task:
When the user clicks a button on a form, I need to throw a confirmation "are you sure?" window if specific fields are changed. In asp.net I would create hidden fields to store the initial values of the fields in question and then in javascript have a confirmation function that finds the control with document.getelementbyid and compares the hidden value to the new value throwing up confirmation if any have changed.
Is there anything built into ext.net to do something similar? or should I basically recreate what I did with asp.net with ext controls?
My searches have found entries dealing with validation and remote validation but it's not quite the same as a conditional confirmation.
Thanks in advance,
Robb
When the user clicks a button on a form, I need to throw a confirmation "are you sure?" window if specific fields are changed. In asp.net I would create hidden fields to store the initial values of the fields in question and then in javascript have a confirmation function that finds the control with document.getelementbyid and compares the hidden value to the new value throwing up confirmation if any have changed.
Is there anything built into ext.net to do something similar? or should I basically recreate what I did with asp.net with ext controls?
My searches have found entries dealing with validation and remote validation but it's not quite the same as a conditional confirmation.
Thanks in advance,
Robb
Last edited by Daniil; Dec 12, 2011 at 2:47 PM.
Reason: [CLOSED]