OK, you guessed it... Now, I need to know how to put in the values "M" or "F" in a field... Can someone answer that question?
OK, you guessed it... Now, I need to know how to put in the values "M" or "F" in a field... Can someone answer that question?
// force the entry to upper case for testing and displayevent.value = event.value.toUpperCase();// set return code as an error if not "M" not "F" or not an empty stringif( (event.value != "M") & (event.value != "F") & (event.value != "") ) {app.alert("Enter gender as \"M\" for Male or \"F\" for Female gender.", 1, 0);event.rc = false;}
Without a crystal ball I doubt it. Your question is too vague. Generally, radio buttons are used for this type data in a form. The user can either select a radio button alone or the selection of a radio button could populate another field on the form with M or F.
Hope this helps,
Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
Dimitri Munkirs
WindJack Solutions
pdfscripting.com