Hide fields if another selection is made

Laura12
Tera Contributor

I have a selection in my request form and UI policies/UI actions behind each selection.  

 

If the user selects the first radio button (do you need to join a zoom meeting) then they must answer the Yes/No question.  If they select Yes, two more fields become visible (start/end date) and they need populated.  If the user enters the dates for these two fields and happens to select the second radio button (do you need to schedule a one-time zoom meeting) due to a mistake, those date fields are still shown on the form but I would like to get rid/hide them.  I've even marked both of those fields with the "clear the variable value". 

 

I've attached screenshots of what the form looks like.  Can someone assist?

6 REPLIES 6

If I make those two fields (u_klg_zrf_date & u_klg_zrf_start_time) visible "false" then they show up on the form when it's loaded and I only want those date fields to show up if the user chooses the second radio button.  

 

The problem is with the fields (u_klg_zrf_startdate & u_klg_zrf_enddate).  If the user enters dates into those fields and happens to then choose the other radio button, those date fields stay on the form.

Laura12
Tera Contributor

I can't update the date field in the second UI policy to match the first one because I'm asking them a different question as it relates to the date of their meeting.

 

The problem is with the u_klg_zrf_startdate & u_klg_zrf_enddate fields.  If they are populated and the user has mistakenly populated them, they still show up on the form and I would like to hide them.