Element Javascript - Predefined 'Reset' Action

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!
 
I'll keep it in mind next time I'm working on that code. But it's actually quite a lot of work to add new actions.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top