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 :
http://www.softproject.biz/temp/multisectionform.jpg 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
http://www.softproject.biz/temp/test.fdfhttp://www.softproject.biz/temp/test.pdfAny suggestion?
Thank you so much.