Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Multi-section form and required field validation problem


Not applicable
I'm developing web-based document control application. The document can have multiple sections and we allow only specific users to fill in specific section like this : To achieve this, when web application load the document to display, ASP.NET dynamically create FDF and fill list of field name which will be enabled only for specific users into EnabledFields textbox. And after filling by FDF, javascript in PDF recursively disable all fields and re-enable only the fields contained in the list. It works fine.

Problem :

If we have some required fields in section B, the validation should be disabled when working on section A. And also when working in section B itself, the validation should be enabled as expected. To achieve this, I try to disable and re-enable the validation on the enabled fields. But It doesn't work. SectionB is disabled but the validation is still active. So, the user cannot submit the form because he can't fill the required field.

See these attachments

Any suggestion?

Thank you so much.
0 Replies