Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
JS Error
<script type='text/javascript'>
jQuery(document).bind('gform_post_render', function(event, formId, currentPage){if(formId == 2) {gformInitCurrencyFormatFields('#input_2_20,#input_2_21');if(typeof Placeholders != 'undefined'){
Placeholders.enable();
}jQuery('#input_2_16').mask('(999) 999-9999').bind('keypress', function(e){if(e.which == 13){jQuery(this).blur();} } );} } );jQuery(document).bind('gform_post_conditional_logic', function(event, formId, fields, isInit){} );</script><script type='text/javascript'>jQuery(document).ready(function(){jQuery(document).trigger('gform_post_render', [2, 1]) } );</script><!-- call the jQuery library if not already loaded in theme --> <!-- the function to show the error notice or the fading confirmation notice at top of page --> <script type="text/javascript">jQuery(document).ready(function(){
jQuery(".validation_message").appendTo(".validation_error");
jQuery("[id*='field_2_'] ").removeClass("gfield_error");
jQuery("[id*='field_3_'] ").removeClass("gfield_error");
jQuery("[id*='input_3_24_'], #input_3_20 ").change(function () {
var selectedValue = jQuery(this);
jQuery(this).css("color","#ccc");
if (selectedValue.val())
jQuery(this).css("color","#000");
});
jQuery("[id*='input_3_24_'], #input_3_20 ").trigger( "change" );
});</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.