Question

Display field based on selection

  • 14 February 2023
  • 2 replies
  • 72 views

Userlevel 2
Badge +6

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

Userlevel 3
Badge +5

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.

Userlevel 6
Badge +18

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.

Reply