Hi All,
I have four fields in a form-
Start Odo and End Odo
Start Date/Time and End Date/Time
I would like to make it so that the End Odo field must validate to be higher value than the Start Odo field when a user enters data and the same with Start and End Date/Time.
If it is lower, the form throws up an error when submit is pressed and likewise with date/time fields. However, I need to have it so that if there is nothing entered in the End Odo field the form will still submit. (so the user creates a record and come back to it later to complete it) It should only throw an error if a user actually enters a number in it.
I have tried something like this code in the End Odo 'OnChange' field which does throw up an error saying that its lower, but I'm not sure about what to put in the 'Submit' button-
If(Value(DataCardValue35.Text)>Value(DataCardValue48.Text),Notify("End Odometer must be more than Start Odometer",Error);Reset(Self))
Appreciate any help.