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

Can't find Text Field Properties to add Javascript

fjcunninghamjr
Registered: Oct 31 2006
Posts: 25

I have already created a form for text to be entered. Now I am trying to tweak it to when a field is completed the text is changed to Upper Case. I can't seem to find or get to the Text Field Properties dialog to enter the action. Can someone take my throught the steps.
Frank

Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
Using the Keystroke event:
event.change = event.change.toUpperCase() ;

This will automatically change characters which can be uppercased set to upper case.

It is best entered here:
Field Properties/Format/Custom/Custom Keystroke Script

;-)
fjcunninghamjr
Registered: Oct 31 2006
Posts: 25
Can somehow tell me how to get to 'field properties' either in Acrobat or Desinger. I have spent hours and still can not locate. I know to insert the script I would like, I know I need to be at the text properties. Steps I have taken to get there are
Tools>Advanced Editing>click Select Object tool, then click the desired field, right click to show all the options including the text field properties, unfornuately these properties are not shown. I see Document properties or page preferences no text properties. Can someone help me?
Frank
Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
fjcunninghamjr wrote:
Tools>Advanced Editing>click Select Object tool, then click the desired field, right click to show all the options including the text field properties
Then, go to the "Format" tab, choose "Select format category" : Custom

Here is what you're looking for.

;-)
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
What program did you use to create the form Acrobat or Live Cycle Designer?

Since each program has a different entry method for JavaScript and slightly different syntax for JavaScript it is important to let responders know this information. There can even be significant changes in JavaScript Objects between versions of Acrobat so this information can also be important in forming a response.

George Kaiser