Hello,
I'm trying to use the event switcher in CFv5 but am having difficulty in understanding how to set it up properly. Here is how my actions are set up:
[attachment=0]actions.jpg[/attachment]
Here is the debub info to reference when I explain what I'm trying to do.
[attachment=1]debug.jpg[/attachment]
What I'm trying to do is make sure duplicate ID numbers don't get entered in the db. So, when the form is filled out, if
I'm afraid I can't figure out how to code the event switcher to verify the information.
Hope this is clear. Thanks for your help.
I'm trying to use the event switcher in CFv5 but am having difficulty in understanding how to set it up properly. Here is how my actions are set up:
[attachment=0]actions.jpg[/attachment]
Here is the debub info to reference when I explain what I'm trying to do.
[attachment=1]debug.jpg[/attachment]
What I'm trying to do is make sure duplicate ID numbers don't get entered in the db. So, when the form is filled out, if
Array
(
[binum] => bi18456
is present in the db (which in this example it is), a message will appear stating the number is already in the db and the data will not be saved. If the number is not in the db, a message will state the information was saved, and a db save action will occur.
I'm afraid I can't figure out how to code the event switcher to verify the information.
Hope this is clear. Thanks for your help.