Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: Validate Search

Quote Reply
Re: Validate Search In reply to
It is not within the query subroutine that would be the easiest change, but adding a hidden field in your search form:

Code:

<input type="hidden" name="Validate" value="Yes">


In terms of editing it from the back-end, the better routine to look at is the sub view_search routine in the db.cgi....you will need to add conditional statements for the Validate field also admin perm, so that you as admin can search ALL records and other users will only be able to find VALIDATED records.

Good luck!

Regards,

Eliot Lee
Subject Author Views Date
Thread Validate Search Rob 2355 Dec 5, 2000, 9:48 AM
Post Re: Validate Search
Stealth 2290 Dec 5, 2000, 11:56 AM