Thread Starter
j0111
(@j0111)
Attaching the code that I have at the moment
https://justpaste.it/4swai
Thread Starter
j0111
(@j0111)
I’m trying to get at least one of the two fields filled in (phone and email). So the initial assumption was correct, if both fields are empty show an error. The form-id matches the one in the form ($form_id != 663). I’m still seeing the form submitting unfortunately, have also tried changing field validation and required or not as well.
Hey! I’m reopening the ticket, I was trying to reimplement the above mu plugin solution to my situation as well. But when I try to do a test submission, I’m not seeing the error message float up and the validation fails to fail and continues to submit.
The only portions I’ve updated are the “form_id” and form fields which are “email-1” and “phone-1”. Would appreciate the help!