C
CES
All,
I was wondering if someone might be able to help me with how to properly reset a required date field after you've moved on to a subsequent fields.
By that I mean if you have six fields on a form:
Field1 - Memo Field
Field2 - required - Text field
Field3 - required - Date field
Field4 - Text field
Field5 - Text field
Field6 - Text field
When a user Enters Field4 I want to validate with the user that indeed the data entered in Fields 1-3 is correct. After they make an affirmative response I disable and lock Fields 1-3.
The problem that I am running into is I can't seem to figure out how to change the date field back to a Null state and variations of me.Field3.value = "" will throw an error unless I immediately assign a new date such as me.Field3.value = "1/1/1900".
Field2 is easy to figure out how to Foo-Reset, I can just use me.Field2.value = "" but how would you do the equivalent with a Date field?
I know that I could just totally reset the form but I would prefer to just reset the required Field2 & Field3 and then set focus back to Field2.
Thanks in advance. - CES
I was wondering if someone might be able to help me with how to properly reset a required date field after you've moved on to a subsequent fields.
By that I mean if you have six fields on a form:
Field1 - Memo Field
Field2 - required - Text field
Field3 - required - Date field
Field4 - Text field
Field5 - Text field
Field6 - Text field
When a user Enters Field4 I want to validate with the user that indeed the data entered in Fields 1-3 is correct. After they make an affirmative response I disable and lock Fields 1-3.
The problem that I am running into is I can't seem to figure out how to change the date field back to a Null state and variations of me.Field3.value = "" will throw an error unless I immediately assign a new date such as me.Field3.value = "1/1/1900".
Field2 is easy to figure out how to Foo-Reset, I can just use me.Field2.value = "" but how would you do the equivalent with a Date field?
I know that I could just totally reset the form but I would prefer to just reset the required Field2 & Field3 and then set focus back to Field2.
Thanks in advance. - CES