When invalid date is entered into a date field, value not resetting when saving {} to value

Certified Lead Developer
When invalid date is entered into a date field, value not resetting when saving {} to value

Text or non-compliant date entered e.g. ‘abc’ or ‘13/32/9999’
o          Default validation fires correctly
o          When clicking reset button to save {} or ‘’ to the date variable value, the date field remains with the user entered data

Customer wants to know if there is a way to clear this invalid data using a reset button. Now if they click reset nothing happens.

OriginalPostID-259012



  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    To echo what @mschmitt said, it looks like the date field component has some internal functionality where it will save and display the invalid value you entered (probably in a local variable) but null out the saveInto target you specified. This doesn't leave us with much flexibility in handling your situation.
Reply
  • 0
    Certified Lead Developer
    To echo what @mschmitt said, it looks like the date field component has some internal functionality where it will save and display the invalid value you entered (probably in a local variable) but null out the saveInto target you specified. This doesn't leave us with much flexibility in handling your situation.
Children
No Data