FMS10 CWP - Need to add validation to search page
Using CWP in PHP, I have a search page with two fields that search using AND logic. When I click submit on the form without anything in either field, it returns all records.
How do I add some sort of validation? Even requiring a single character would work. I have the fields set to use the "equals" option for both fields. Any suggestions?
The forms were created using the PHP site assiatnt in FMS9, but we have since upgarded to FMS10.