fbpx

Wordpress

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 »

Make images black and white in Elementor Builder

Add css class to your image or slider element: bw-color add the following css to your theme customizer custom css section or your theme css files: .bw-color img { /* filter: url(filters.svg#grayscale); Firefox 3.5+ / filter: gray; / IE5+ / -webkit-filter: grayscale(1); / Webkit Nightlies & Chrome Canary */ -webkit-transition: all .4s ease-in-out; } .bw-color …

Make images black and white in Elementor Builder 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