I would like to throw an error every time users miss to fill out the correct datetime format.
I have a text field named txtCaseCreate then it throws the value to a label which is hidden (lblCaseCreateHidden). The Update property of the data card is lblCaseCreateHidden.Text
Default property of lblCaseCreateHidden:
Text(DateTimeValue(txtCaseCreate.Text), "mm/dd/yyyy hh:mm:ss AM/PM")
Scenario:
User enters 03/01/202 12:27:50 AM in text field. This shouldn't be saved or should throw an error message stating check date time format as the date is incorrect 03/01/202. It should be 03/01/2022.

Report
All responses (
Answers (