About EasyMorph Tutorials & Examples Web-help

Dynamic parameter date


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.


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


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)

To learn more about EasyMorph visit easymorph.com.