Gossamer Forum
Home : Products : Gossamer Links : Discussions :

When adding, check if record exists, if not, add, otherwise become review!!

Quote Reply
When adding, check if record exists, if not, add, otherwise become review!!
Greetings,

Is there an easy way to allow the user, when logged in, to add a link to the database only after the script checks for an existing record based on a specific field (driver licence number);
  • If the record does not exist, then the data will be added into the database (without validation), and then the added record gets displayed to the user immediately (maybe via javascript that redirect the page...).
  • If the record exists, then the added data will automatically goes towards the review of the existing record.


thank you in advance for your help..

Mark...

Last edited by:

Paul: Sep 23, 2002, 1:58 AM
Quote Reply
Re: [Mark2] When adding, check if record exist, if not add, otherwise become review!! In reply to
Hi,

I just made a few alterations to your subject line as it was spanning over 5 lines which was a little long.

Last edited by:

Paul: Sep 23, 2002, 1:58 AM