I reset the error message to show the correct WA Jquery instead of Bootstrap. Before we try to solve this, so that I can get the same error message everywhere - I first want to create next comparison.
I will compare today's date with the end date of the gift card found in the database.
I have created a form field called "Valid" with value = <? Php echo date ("Y-m-d")?>. This should be hidden.
Then I created a server validation with "Date / Time" type. I have selected the form field "Valid" as variable. Then I chose $rsPresentkort->getColumnVal("PresentkortValidTo") as Max date.
Then I created Validation Show If for this field. Is this correct? Because it does not work. I get an error message, thought the date in the form is smaller than the date in the database, so it should work.