These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Help with Feild Patterns display

mikruzo
Registered: Feb 15 2011
Posts: 14
Answered

i have a building permit form and I would like to force/format a entry of a parcel ID number to be:
 
12-1S-23-253A-0001-0010 (with the capital letters)
 
if entered by the customer in any of these examples: (obviously there could be more)
 
121s23253a00010010
121S23253a-00010010
12-1s-23-253A-0001-0010
 
I have text{00-00-00-0000-0000-0000} and this formats with the dashes
 
But how do I force capital letters
   
Thanks
mike

mikruzo

My Product Information:
LiveCycle Designer, Windows
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
You will need to add the necessary scripting to force the input to upper case.

Look at the Scripting Reference included under the Help menu option.

George Kaiser

mikruzo
Registered: Feb 15 2011
Posts: 14
i tried the following script i found in this forum and did not get a syntax error, but it still did not work

TopmostSubform.Page1.Parcel_ID_Number::initialize - (FormCalc, both)
$.rawValue = Upper($.rawValue)


i am also beta testing LiveCycle 10.0 and it does not have help files yet

thanks
mike

mikruzo

mikruzo
Registered: Feb 15 2011
Posts: 14
George

I also tired you reply to a question and theis did not work either

TopmostSubform.Page1.Parcel_ID_Number::initialize - (JavaScript, both)
event.value = event.value.toUpperCase();


mike

mikruzo

mikruzo
Registered: Feb 15 2011
Posts: 14
Accepted Answer
i solved my own problem with below script after i set the event to EXIT!! :)

TopmostSubform.Page1.Parcel_ID_Number::initialize - (FormCalc, both)
$.rawValue = Upper($.rawValue)


mikruzo