To validate field entries in a form submitted over the Web in one process on the server, create a computed field and hide it from the Web.
In the FIELDS event "input translation" place your formula for all other field validation formulas and assign these values to a temporary variable.Use an @if and assign it a null value if the field validates otherwise assign it the value of the text string you want to display to the user when their form fails to validate these fields (use html to format these strings eg <li></li>)". Dont use @Success @Failure formulas. After all the formulas type all the temorary variable names so your field is translated into a series of failure text and null values. In the "input validation" event of the same field if the value of your field is NULL all other fields have been validated ,@Success. If the value of your field is not NULL @Faliure and the text value of the field will be displayed showing all the text values for the fields that did not validate.
Input translation event:
REM "email and surname are the names of other fields in your form that you wish to validate." @All a:=@If(email="";"please enter an email address";""); b:=@If(surname="";"please enter your surname";""); a+b input validation event: @If(thisFieldsName="";@Success;@Failure("please go back and fill in these fields "+a+b))
This was first published in September 2001