Within a create or edit action with a date field, there are use cases for an updated at or created at field changing. A default value for a date field of “today” that is calculated at run time would be nice to include on the form rather than having to create a function to do so. The behavior would be identical to selecting “today” from the form itself.
I wish this could be configured in the Action as you’ve described, but it can be configured without a function by passing a hidden “Current Date” variable from Workshop to the action. This variable can be created from the Variables pane → “+” New Variable → Date → Variable transformation:
Yep - getting around it that way for now, but it’s just an additional step. This is a good method for now, because then you can default the value and hide the field on the form for users so they’re none the wiser.
1 Like