Hello
I have a date picker field which uses below formula for the default property. If the form is in new mode the date automatically defaults to today's date. But when I clear the date using the clear button and then change the default date by picking a date from the calendar followed by an error on submission of the form then the date field defaults back again to today's date. This happens only when the error is encountered, which I dont want to happen. How can I avoid this behavior?
If(MakeBlank1,Blank(),If(EntryTypeVar="New",Today(),Parent.Default))
Clear button On Select property
UpdateContext ({MakeBlank1:true});Reset(DatePicker6)
Reset button On Select property
UpdateContext ({MakeBlank1:false});
On success property of the form has below formula
UpdateContext({MakeBlank1:false});
On failure property of the form has below formula
UpdateContext({MakeBlank1:false});
On reset property of the form has below formula
UpdateContext({MakeBlank1:false});