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)

  1. Click OK. Code will then appear in that textarea that looks something like this: 
function ff_ElementName_action(element, 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.")

  1. Change that code to: 
function ff_ElementName_action(element, action)
{
     if (action=='change')
     element.value = element.value.toUpperCase();
     return element;
} // ff_ElementName_action
  1. Click on the SAVE PROPERTIES button at the bottom of the screen to save the changes to the element.
  2. Click on the SAVE icon in the upper right-hand corner of the screen to save the form itself.
  3. Test it out -- it should work!

 

 

 

Special Offer

Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!