Gravity Forms

Strip or Validate the country code 1 from Gravity Forms phone field

Some submissions have incorrect phone numbers when using the standard US phone field format on Gravity Forms because the user’s saved phone number in their browser auto-fills the 1 prefix and is then missing the last digit. Example issue: (134) 712-3456 instead of the correct number: (347) 123-4567The script below adds a field validation to …

Strip or Validate the country code 1 from Gravity Forms phone field Read More »

Link a Gravity Form radio button option to focus on a specific field

Place this snippet in an HTML field in your form: <script> jQuery( document ).ready(function() { jQuery(‘input:radio[name=”input_2″]’).change( function(){ if (jQuery(this).is(‘:checked’) && jQuery(this).val() == ‘Enter Amount’) { jQuery(‘#input_2_1’).focus(); } }); }); </script> Customize the above code according to your specific fields. To add a regular text link that focuses on a specific field use the following code …

Link a Gravity Form radio button option to focus on a specific field Read More »

Shopping Cart