Created
March 30, 2017 00:16
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The script should be placed in a Non-Visible HTML Element, like so:

And then on the webform, it will mask the input!
