Toggle hide fields/headings

Forums Classic DFFS Toggle hide fields/headings

Viewing 3 reply threads
  • Author
    Posts
    • #19965
      Bryan Waldrop
      Participant

      I would like to write a function to conditionally hide show fields and headings rather than write multiple rules. I see that it is possible to unhide,true/false tabs but is there a ways to call fields and headings?

    • #19975
      Bryan Waldrop
      Participant

      I figured out the field:
      $(spjs.dffs.fields[“HRR_x0020_Refresh”]).show();

      Still having trouble figuring out the same for heading.

    • #20001
      Alexander Bautz
      Keymaster

      If you use the dev tools (right click > inspect) you can find the ID of the heading

      . In general, it has ID in this format:

      jQuery("#dffsHeading_YOUR_HEADING_UNIQUE_ID").show();

      Change “YOUR_HEADING_UNIQUE_ID” with your heading unique id from DFFS backend.

      Alexander

    • #20092
      Bryan Waldrop
      Participant

      Thank you!

Viewing 3 reply threads
  • You must be logged in to reply to this topic.