Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Josh Pollock

    (@shelob9)

    Are you talking about fields of the type hidden or fields which are hidden using conditional logic?

    Thread Starter nicheru

    (@nicheru)

    I am talking about type hidden.

    Plugin Author Josh Pollock

    (@shelob9)

    Hidden fields do not output class attributes. If you want to target it with JavaScript, use the ID.

    Plugin Contributor David Cramer

    (@desertsnowman)

    the best selector is the name. it uses the ID of the field and ID’s don’t change. even on an import. eg. $('name="fld_8768091"])

    Also note that hidden fields are static and will revert to the set value in the backend on submit. unless you’re using the filter to alter the value on submit.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hidden Field – Custom Class not working’ is closed to new replies.