Discussion
CVS Caremark
IN
Last activity: 14 Jul 2015 2:00 EDT
Confirm Dialogue Box on Change of a Property on UI
Hi All,
I want to display a confirmation dialogue with OK and Cancel button on change of a Property in section.When user clicks on OK then changed value will be set to that property but if user selects cancel button then old value should be retained on section.
Any pointer will be highly appreciated.
Scenario: For Ex- There is a Date field on a section prepopulated with a Date.When user changes the date to less than the current date then i want to display the confirm dialogue and if user clicks OK then set the date user selected Date even if it is past date but if he clicks Cancel the retain the value that was already prepopulated there on the section.