breezingforms

Page 162

[User Guide]

[Crosstec/Breezing Forms]

} break; default:; } // switch } // ff_NumberOfTravelers_action

IMPORTANT: If your element is named something OTHER than NumberOfTravelers, then you need to change the function to match the name. For example, if your element is named Travelers, then the function line would change to: function ff_Travelers_action(element, action)

Change Field to Uppercase My form data needs to be entered in all UPPER CASE. Is there a way to do this? 1. In your text element, go to the ADVANCED tab. 2. In the ACTIONSCRIPT section, click on "Custom." 3. In the "Actions" area, check the "Change" checkbox. (This will tell the script to activate any time the field is changed.) 4. Click on CREATE CODE FRAMEWORK. (It's a link, though it doesn't look like one). A popup dialog box will appear that says: Create code framework for action now? (Existing code will be appended) 5. Click OK. Code will then appear in that textarea that looks something like this:

function ff_ElementName_action(element, action) { switch (action) { switch (action) { case 'change': break; default:; } // switch } // ff_ElementName_action (Change "ElementName" in the first and last line of the code to match the NAME of your text element. This should be done automatically when you click on "Create Code Framework.")

Page 160


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
breezingforms by Kim Clausen - Issuu