Previous | Next | (P-PDF) Forms & FDF
Topic: Highlighting a text field when cursor enters
Conf: (P-PDF) Forms & FDF, Msg: 29203
From: cwpetry
Date: 10/26/2001 07:28 AM
Jub -- Not being a programmer, I'm totally lost as to how to apply the highlighting feature you described. I'd like to use it instead of the blinking cursor I've been using to indicate the first field in a form. Here's the code I'd been given by another forum member for this action:
var aa = this.getField("FieldName") ;
aa.setFocus() ;
My reasoning in using it was to give the user at least an idea where to start filling in the form. However, I like the idea of highlighting the active field, which would highlight each consecutive field as the user tabbed thru the form. However, I'm clueless as to how to set it up. Your talk of document-level JavaScript and onFocus/onBlur calls to this code is completely beyond my limited knowledge. Would you be willing to walk me thru the specific steps I'd need to do to add this feature to a form? About all I know is to use the Set Page Action feature to add the above JavaScript.
Thanks in advance for your help.
Catherine Petry