hominid4
Member
Hi. This is lazy on my part, but would it be possible to add a "reset()" action to the Predefined actions in the element javascript?
There's times when I will have a Date/Time element that's editable and a Yes/No element that will toggle that element, and to prevent someone from clicking 'Yes', changing the date/time, then 'No', and the date/time still populated with the changed values, I'll add an inline javascript reset() in the Yes/No element's javascript to reset the Date/Time element if 'No' is chosen.
Not a big deal adding the inline code, just thought it be nice to choose reset() from the Predefined actions.
Thanks!
There's times when I will have a Date/Time element that's editable and a Yes/No element that will toggle that element, and to prevent someone from clicking 'Yes', changing the date/time, then 'No', and the date/time still populated with the changed values, I'll add an inline javascript reset() in the Yes/No element's javascript to reset the Date/Time element if 'No' is chosen.
Not a big deal adding the inline code, just thought it be nice to choose reset() from the Predefined actions.
Thanks!