Sorry but I don't understand. Maybe I wasn't clear. I've set up the logic to disable submit if there's a plus in the phone field on a contact form. I nevertheless receive contact emails submitted through that form that have a plus in the phone field.
Yes, that's what I am assuming you meant. If you choose "international" as the format, you're going to get a +[number] regardless of what you enter. What I'm saying is that you can manually remove it from the notification message if that's the part you care about. If you care about what's saved in the database, you can use a hook to remove the "+1" before it's saved (which will also fix the notification message). https://formidableforms.com/knowledgebase/frm_pre_create_entry/ is a good place to start.
Oh right. I've blocked the + as a partial method of stopping spam. This contact form is only relevant to the UK so anyone with a + is a spammer, so I don't want them. The field is not set to international. So I block the + but the spam messages still get through.
Please login or Register to submit your answer