Forum OpenACS Q&A: Re: ad_form validation
2: Re: ad_form validation (response to 1)
Posted by Don Baccus on 07/13/03 12:33 AM
One possibility is to include an on_error clause and within it, check for duplicate values for those fields declared UNIQUE.
In this way you avoid accessing the database in the case where there are no unique violations.