Splitting piped values
-
Hi. I have followed the instructions on https://cfdbplugin.com/?page_id=804 to split piped fields in ContactForm. Testing shows that it’s almost working – I see the field split as expected in cfdb, however, the value that it’s giving is incorrect.
For example, I have something like:
location1|email1@nowhere.com
location2|email2@nowhere.com
location3|email3@nowhere.com
location4|email1@nowhere.com
location5|email2@nowhere.com(note the repetition in use of the email addresses – which I think may be the problem).
When the user submits location5, cfdb incorrectly shows “location2”. How can I adapt the code on https://cfdbplugin.com/?page_id=804 to make it work for this scenario?
The topic ‘Splitting piped values’ is closed to new replies.