Page 1 of 1

<>AND = VALIDATION

Posted: Thu Aug 22, 2013 10:17 am
by meetmec12

Please can anybody help with the correct SQL validation code for < > and = . i will like to insert with php my admin. the idea of what i want is this . i have a form with 3 fields.( drop down menu . each contains 1 to 6. i want an error to pop up if the value the addition of values selected in the three field is higher than 6. thank you


Re: <>AND = VALIDATION

Posted: Thu Aug 22, 2013 11:17 am
by danielc

You can use Form_CustomValidate server event for your Add/Copy Page (enable Server-side Validation in PHP panel). See server event and client script in help file.


Re: <>AND = VALIDATION

Posted: Fri Aug 23, 2013 2:41 pm
by mobhar

You can also use "Row_Inserting" server event to validate the value. Return FALSE if you want to cancel the inserting process. Read "Server Events and Client Scripts" in the help file for further information.