Select to view content in your preferred language

how to display a question on a Field Map Designer form, taking into account a time interval

189
1
09-12-2024 01:19 AM
BéatriceDUMETZ
New Contributor

Hi, 

as part of a form created with Designer, I would like question no. 2 to only be displayed 30 days after the response to the date field of question no. 1

do you have any idea how to do it ?
I tried DIFFDATE but it doesn't seem to work

0 Kudos
1 Reply
KenBuja
MVP Esteemed Contributor

In the Visible expression, this should display the field only when the date in the Date field is older than 30 days from today (and the Date field isn't empty)

iif(IsEmpty($feature.theDateField), false, DateDiff(Now(), $feature.theDateField, 'days') > 30)

 

0 Kudos