Added a custom attribute to gravity forms field but is innaccesible

Hello,

I added a new custom attribute to my gravity form fields, however, this custom attribute is set to display: none on the form edit page.

I’m using the hook gform_field_appearance_settings described here: https://docs.gravityforms.com/gform_field_appearance_settings/

How can I fix that issue?

Thanks

Check out the example at gform_field_advanced_settings. Specifically, you’ll need to see the code there which has hooked to gform_editor_js. This is the line that will tell the editor to display a setting for a specific field type…

fieldSettings.text += ", .encrypt_setting";

You’ll need to update that for your field.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.