Javascript Clear elements

Mono

Member
I have a form with a group and repeat group on it.

I have a DBJ in one group and several fields in a repeat group.
When the Database join changes I want to clear all fields in the repeat group.

Using the element javascript and change event, then the predefined action of 'clear' and the 'element' as the repeat group, it doesn't clear the fields.

If I use a specific element rather than a group in the element dropdown it does work.

Is there a way to clear all elements in a group I was thinking of a for each in the form_js but can't find a solution?

Mono
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top