Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Other HTML nodes are assumed to be always visible when their parent section is rendered.  To restrict visibility of any arbitrary node apply the “visiblefrom-XXXXXX” class.  This can be useful if you want to give additional instructions to the person filling out a section that don’t need to be visible to all other parties.

This visibility can only be applied inside of <form> elements with the "form-section" class.  Also, a node can not be hidden from its own parent section.  E.g., in <form id="My_Section" class="form-section><img class="visiblefrom-Another_Section"> the <img> will be shown to Another_Section but also My_Section (since it can't be hidden from its own parent).

Visibility When Printing

When using the online forms stylesheets made available as part of the static asset collection you may apply the “noprint” class to any node that should be hidden when printing.  This hiding is done in the browser through CSS, not stripped out on the backend at render time.