Select to view content in your preferred language

Setting conditional visibility of group based on date

437
1
Jump to solution
06-30-2022 08:09 AM
JanetSilb_Spike
Regular Contributor

Hi, I'm still learning Arcade and would like help with an expression. I would like to set the visibility of form groups based on a range of dates. For example, I am grouping fields in the smart form for bi-annual collection dates (May & Aug) over 5 years. So I would like to either expand a group or make it visible if the entered date falls within a specified window (e.g. May 1-31, 2022). I would appreciate any tips for writing an expresion to do this!

0 Kudos
1 Solution

Accepted Solutions
JanetSilb_Spike
Regular Contributor

I found this is easy to do from the Smart Form - Calculated Expression by selecting 'Edit' rather than 'Edit (advanced)'.  With the Edit tool I could use the drop down menus to build the expression I wanted. 

View solution in original post

0 Kudos
1 Reply
JanetSilb_Spike
Regular Contributor

I found this is easy to do from the Smart Form - Calculated Expression by selecting 'Edit' rather than 'Edit (advanced)'.  With the Edit tool I could use the drop down menus to build the expression I wanted. 

0 Kudos