How do I get the cursor to be in the first field of my form when someone goes to that page?
In techno-speak, this is called getting focus. If your form contains only one page (or one page and a thank you page), do the following:
- Go to the Advanced tab of the first element on your form.
- Scroll down to the Initscript section and add the following settings:
Type: Library
Form Entry or Page Entry - Put a checkmark beside FORM ENTRY
Script: FF::ff_getfocus
- Then click on SAVE PROPERTIES to save the changes you just made to the form element.
- Now click on the SAVE icon in the upper left-hand corner of the screen to save the form itself.
If your form contains multiple pages, then follow steps 1-4 above for the first page.
On subsequent pages, do the following:
- Go to the Advanced tab of the first element on the second (third, fourth, etc.) page of your form.
- Scroll down to the Initscript section and add the following settings:
Type: Library
Form Entry or Page Entry - Put a checkmark beside PAGE ENTRY
Script: FF::ff_getfocus
- Then click on SAVE PROPERTIES to save the changes you just made to the form element.
- Now click on the SAVE icon in the upper left-hand corner of the screen to save the form itself.
Make sure that you only use the focus script in ONE element on a single page.