Forums

Verifying data is not in db

chriso0258 23 Apr, 2014
Hello,

One of the inputs of a form I've created to add a user is the user's ID#. What I would like to do before I save the data to the db is to check to make sure the ID# isn't already in the db. If there is, I want to implement a show stoppler with a message stating the number is already in the db.

I can't find anything in CF5 where I can add an action to a True / False section of another action as I thought was the case in CF4 where I could carry on if the action was true or run the show stopper (or other things) if the action was false.

Hope this makes some sense.

Thanks for your help.
Chris.
GreyHead 23 Apr, 2014
Answer
Hi Chris,

CFv5 has an Event Switcher action in the 'Validation' action group.

Bob
This topic is locked and no more replies can be posted.