Thank you for the reply and concerns.
However, it is not generating an email and I have server side validation installed.
If you are familiar with Form Tools API (formtools.org) that is what I am using.
Doing a search, I have seen that this is how it should be handled. Exploding the two values based on the separator.
Hi,
In a form I am adding "1278|Toyname" as a value in a drop down. This way if they select a certain toy, I can have the ID and the toy name they are referring too.
I would like to post this info in my contact form and I would like to separate via the | (Pipe) and store the id "1278" in a field called id and "Toyname" in a field named toy when the form is posted. I know I have to use the explode function to seperate but I dont even know where to begin.
Thank you in advance,
Bill
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.