New to using Formdate / dates

Screenshot 2024-07-17 074240
New to using Formdate. Currently on MM/DD/YYY format. Is there a way to have the date box appear empty rather than defaulting to today's date? I'd like to have it empty then make it a required field, similar to the dropdown menus in the attached pic.
Thanks so much!

Hi Sarah!

While you can't have the formdate field appear empty, you can use Text Blaze's if command to show an error if the date is not in the future.

{note}{formdate: YYYY-MM-DD; name=start date} {difference=datetimediff(`start date`, {time: YYYY-MM-DD}, "D")}{if: difference>-1}{error: Select date; block=yes}{endif}{endnote}

The start date for care is {=datetimeformat(`start date`, "MM/DD/YYYY")}.

Please let me know if you have any questions.

1 Like

Thank you for your help!

1 Like