Mask Sensitive Form Values

Please note that this is now available as a plugin for easier installation. While you can use this document as a reference, the recommended method to add…

  • Not yet re-checked
  • Classic builder

Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

Screenshot for “Mask Sensitive Form Values”

Here’s a solution for setting up text fields to behave as masked passwords on the front end.

Step 1

Find the component ID. You can find this information in the page builder by hovering over the info icon. Be sure to have the preview builder view active.

Screenshot for “Mask Sensitive Form Values”

Step 2

Edit the field you’d like to mask from the page builder. While editing your field, you will find the option to add a CSS class selector under the design tab.

Screenshot for “Mask Sensitive Form Values”

Step 3

Add the following code to the JavaScript ta of your page.

Text
TB.render('component_X', function(data){
    data.ele.find('.password input').attr('type','password');
});
Screenshot for “Mask Sensitive Form Values”

Original Community Post:

Mask sensitive form values - Community Discussions / How Do I - Tadabase Community

Was this page helpful?

Something wrong or missing on this page? Tell us.