Answered
Hi,
I have three text fields on my form that I wish to be mutually exclusive. I only want the user to be able to complete one of them. Possible? thx in advance. Brenda
Hi,
I have three text fields on my form that I wish to be mutually exclusive. I only want the user to be able to complete one of them. Possible? thx in advance. Brenda
if(!/^\s*$/.test(event.value)){this.getField("Date2").readonly = true;this.getField("Date3").readonly = true;}else{// Re-Enable on an empty fieldthis.getField("Date2").readonly = false;this.getField("Date3").readonly = false;}
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]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script