Hello, is there a way to format a field to only allow a date OR the values "IN" and "OUT"? We want people to be able to enter a date or I/O but nothing else.
Formatting a field
Collapse
X
-
It is not field formatting you have to deal with but form validation. Put this in the Validation Rule for the text box you are concerned with:
You may also want to put something particular in the ValidationText property. This is the message text that will be displayed if the user puts an improper value in your text box.Code:IsDate([TextBoxName])=True Or "IN" Or "OUT"
Jim
Comment