This article is specific to the updated TrackVia UI released in Fall 2026
Show/Hide rules show a field or section on a form only when it's needed, based on values in other fields. Shorter forms are faster to fill out and leave less room for mistakes.
- How Show/Hide rules work
- Why use Show/Hide rules on forms
- How to set up Show/Hide rules
- Best practices for Show/Hide rules
- Example use cases for Show/Hide rules
- Limitations of Show/Hide rules
How Show/Hide rules work
A Show/Hide rule is a condition added to a field, section or widget on a form. TrackVia shows the field when the condition is met and hides the field when the condition is false.
TrackVia checks Show/Hide rules when a form opens, on new and existing records, and again after every edit. A hidden field appears as soon as its rule is met and disappears when the rule stops being met, with no reload.
- A rule with several AND conditions keeps its item hidden until every condition is met.
- Conditions can be based on number, single line, user, dropdown, date and time, paragraph, auto counter, currency, checkbox and relationship fields.
- Hiding a section hides every field in it, including a field with its own show rule. The section's rule overrides the field's rule.
- Hidden fields and sections take up no space on the form, and the Tab key skips them.
- Rules respond to default values when the form opens. They also respond to values filled in from a parent record or from a lane.
- Printing a record prints only the fields and sections showing on screen. Hidden ones leave no gap.
Show/Hide rules also apply in the TrackVia mobile apps.
Why use Show/Hide rules on forms
Large forms with many fields can be hard to read and slow to fill out. Show/Hide rules help to reduce clutter and the need to scroll. Each person sees only the fields that matter for the record in front of them.
- Follow-up fields only appear when they apply, which makes it easier to collect the right details.
- You can often use one form with Show/Hide rules instead of building and maintaining several similar forms.
- With the When Shown required setting, a field can be required only while it's shown. Users aren't asked to fill in fields that don't apply.
How to set up Show/Hide rules
Show/Hide rules are set up in the form designer in the Current TrackVia UI. You'll find the steps in How to Use Form Show / Hide Rules.
Best practices for Show/Hide rules
- Test each form after adding Show/Hide rules. Create a test record, change the determining fields, and check that the right fields and sections appear.
- Keep Show/Hide conditions as simple as you can. A rule that checks one or two fields is easier to understand and fix later.
- Place the trigger field above the fields it controls. Users fill in forms from top to bottom, so new fields appear where they're about to look.
- Hide a whole section instead of adding the same rule to every field in that section. One rule is easier to maintain.
- Test self-referencing rules carefully. If entering a value makes the field hide, the value won't be saved.
- Avoid hiding a required field unless another rule makes sure the field shows before the record is saved. Otherwise users can get stuck on a save they can't fix.
Example use cases for Show/Hide rules
Show a reason field when a request is denied
On a vacation request form, a manager approves or denies each request. If the manager denies the request, you'd like to know why.
A Show/Hide rule on the Reason field shows the Reason field only when the Manager Approval field is set to No. With the Reason field required when shown, a denied request can't be saved without a reason.
Show repair comments once a repair is assigned
On an audit form, the Repair Comments field only matters after a repair is in progress. A Show/Hide rule with two conditions joined by AND handles that. The Repair Comments field shows only when a Repair Status is selected and the Assigned To field has a user in it.
Open and close Child View sections with a Checkbox field
Forms with many Child View sections can get crowded. One fix is a Checkbox field with one option for each Child View section. Each Child View section gets a Show/Hide rule that uses the Has this option selected operator.
Users select the options for the Child Views they'd like to see, and the rest stay hidden.
Show sections based on status
On a work order form, an Inspection Results section only applies once the work order reaches inspection. A Show/Hide rule on the Inspection Results section that checks the Status field keeps the section hidden until the status changes to In Inspection.
Limitations of Show/Hide rules
Warning: When a record is saved, TrackVia only saves the fields and sections that are showing at that moment. A value entered in a field that's hidden when the record is saved isn't saved.
For example, a Show/Hide rule shows a Discount % field when Method of Payment is Cash. The Discount % field has a default value of 10%. A user selects Cash, the 10% discount fills in, and the user saves the record.
Later the customer decides to pay by card, so the user changes Method of Payment to Card. The Discount % field is hidden, but the 10% discount is still saved on the record. To remove the discount, clear the Discount % field and save the record while the field is still showing. Then change Method of Payment to Card and save again. If you clear the field and change Method of Payment before saving, the field is hidden when you save and the 10% discount stays on the record.
Show/Hide rules also have these limits:
- Show/Hide rules can be set on fields, field sections, view sections (the sections that hold Child Views), and certain widgets, such as multi-select widgets, text widgets, and link widgets.
- Spacer widgets and horizontal line widgets can't have Show/Hide rules.
- Widgets cannot be used as the determining field in a show/hide condition.
- A Show/Hide condition can only check fields on the same form, not fields on a parent record. If a condition names a field that's been removed from the form, TrackVia drops that condition. A rule with no conditions left always shows its item.
- Show/Hide rules only work on the form where you set them up. A field hidden on one form still shows on other forms and in views that include the field.
- Hiding a field doesn't make it optional. A required field that's hidden still blocks the save. The form shows "A field hidden by a rule on this form is stopping the save. Ask your administrator to fix it."
- Bulk edit doesn't use Show/Hide rules. Every field on the edit form that can be bulk edited is listed.
- Imports, the TrackVia API, and App Scripts don't use forms, so they ignore Show/Hide rules. Values they set are saved even in fields that would be hidden on a form.
On a public web form, nobody is signed in, so a condition that uses is current user or is one of the current user's groups is never true. A field or section that uses one of these conditions to show stays hidden. A condition that uses the opposite (for example, is not current user) is always true.
Comments
0 comments
Please sign in to leave a comment.