Expand my Community achievements bar.

Reset fields

Avatar

Level 7

I have a Drop down box that controls several visible/hidden subforms..

MY problem is when the user starts to enter data into the fields and discovers he/she into the wrong section,

how I can reset the entered data(auto) when I am selecting a new item FROM the DD?

If I select a new item and later I back to my first choice still the data is there!

Thanks

3 Replies

Avatar

Level 10

You can use the resetData method and pass the field name as the argument..

If you want to do for all the fields inside a subform, then loop thru the nodes in subform and if the Type of the node is field, then pass the name to the above method.

Thanks
Srini

Avatar

Level 7

May I send a sample rto look at it?

Thanks Shrini