Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save hirejordansmith/cb1df1a2302233b78bbb6dd152975586 to your computer and use it in GitHub Desktop.

Select an option

Save hirejordansmith/cb1df1a2302233b78bbb6dd152975586 to your computer and use it in GitHub Desktop.
How to Modify Input Mask Placeholders for Gravity Forms
<?php
/*
Gravity Wiz // Gravity Forms // How to Modify Input Mask Placeholders for Gravity Forms
http://gravitywiz.com/how-to-modify-input-mask-placeholders-for-gravity-forms/
*/
<script type="text/javascript">
setTimeout( function() {
jQuery( '#input_FORMID_FIELDID' ).mask( 'MASK', { placeholder: '' } );
}, 500 );
</script>
@johnfelipe

Copy link
Copy Markdown

This in new version of gravityforms is still working?
I need really put a field of number but like social number, DNI, drive licence, something like that, can u help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment