PDA

View Full Version : Form panel validation



nani1216
15 Oct 2010, 6:52 AM
I'm creating a form with 6 panels. On the top of the form there is a combo. based on the selected combo value i'm showing one panel and hiding the remaining panels.If i declare vtypes for all panel fields, it will also validates the fields of panels which are not visible.

I want visible panel fields should be validated. Remaining should not be validated

How to deal with this situation please help me, Thanks in advance

heidtmare
15 Oct 2010, 8:03 AM
are you hiding and disabling the fields?
really if each panel is independent of the other you should probably have a separate form for each.

nani1216
15 Oct 2010, 7:57 PM
Thanks for the reply

I'm hiding the panels not disabling. I am Using a single from and all panels as items in that form.