Dynamic parameter date

Hello,

How can we have a parameter with a value proposed to the user by default?
As example, propose by default a date as parameter with the value of today’s date by default.

Thanks.

You can use 2 parameters for that: a checkbox that instructs to use the current date, and a regular Date parameter.

image

Then add a calculated parameter with expression such as:

IF {Use today} THEN today() ELSE {Explicit Date}

See example below:

date-today.morph (2.1 KB)

1 Like