Skip to main content
Question

Display field based on selection

  • February 14, 2023
  • 2 replies
  • 141 views

dfsjmarchant
Sidekick (Customer)
Forum|alt.badge.img+8

Is it possible to show and hide fields based on what a user may select from a drop down, or tick box.

For example. The user selects “High Priority” from the priority drop down, so we want to make the “Reason” text box visible, and make it mandatory.

Thanks

James

2 replies

Dar
Hero (Employee)
Forum|alt.badge.img+5
  • Hero (Employee)
  • February 14, 2023

You can show/hide fields based on a condition expression in marble.

ex:

field Reason

{
    ...
    visible = [Priority = "High Priority"];

   required = [Priority = "High Priority"];

   }

 

Similar expression can be specified for custom fields as well.


Alexander Heinze
Ultimate Hero (Employee)
Forum|alt.badge.img+23
  • Ultimate Hero (Employee)
  • February 14, 2023

Watch out for the 23R1 news. There are lots of improvements coming to the Page Designer, including Show & Hide Fields, Control Mandatory/Required Fields, Control Read Only Fields.