Hiding and Showing text field

Hello,
I have some JavaScript logic in place that hides and shows SharePoint fields based on the selection from a choice field. Along with hiding and showing SharePoint fields, I have a text field that that I would like to hide and show at the same time.

Am using the standard Plumsail syntax for the Sharepoint fields:

fd.field('Field_Name').hidden = false;

Am hoping to just add a line in the same block to address the text field, the "fd.field" approach does not work.

thank you in advance

Hi @Pandra,

Addressing SharePoint fields and common fields works the same, so the issue is likely in a misspelled field name. Could you ensure that the field name in the code and in the designer is the same?

If that doesn't help, please provide a screenshot of the browser's console (F12).