Skip to content

Instantly share code, notes, and snippets.

@RobertCalise
Created March 30, 2017 00:16
Show Gist options
  • Save RobertCalise/29c710043ee18ceb271632b5a80202c6 to your computer and use it in GitHub Desktop.
Save RobertCalise/29c710043ee18ceb271632b5a80202c6 to your computer and use it in GitHub Desktop.
Example: Change Infusionsoft web form field type from "text" to "password" in order to mask input
<!-- assumes a field with an id of inf_field_Company exists on the page -->
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('#inf_field_Company').attr('type', 'password');
});
</script>
@RobertCalise
Copy link
Author

The script should be placed in a Non-Visible HTML Element, like so:
tinygrab screen shot 3-29-17 8 18 57 pm

And then on the webform, it will mask the input!
tinygrab screen shot 3-29-17 8 19 57 pm

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