Hello .
I am using adobe livecycle 8.2 , I have some fields as required , but for a reason I keep getting
At least one required field was empty on export. Please fill in the required fields ( highlighted ) before continuing
and I need through javascript or formcalc . I need to disable this validation .. to skip it on a submit button .
I been tryng many ways with validation.nulltest = "disabled" and xfa.host.validationsEnabled = false; .. in many ways .. but I always get the " At least one required field ..... ""
is there a way to make a submit button skip all those validations ?? ...
Thanks.
Victor.
But if you want to dynamically manipulate the required fields, the use the "mandatory" field property. For example, say I wanted to make a field required if a check box was selected
if(myCheck.rawValue)
myField.mandatory = "error";
else
myField.mandatory = "disabled";
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script