• Resolved chadhively

    (@chadhively)


    Hi!

    I’ve been scouring google for an answer and I cannot find one (or it might be there and I’m just stupid lol). I need to integrate a unique universal “promo code” that the user must input into the last field of the contact form before they can submit the form. How can I go about doing this? Thank you so much in advance!

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter chadhively

    (@chadhively)

    Just to clarify, it cannot be just any promo code. It’s one that we are sending out in a mailer. When I say “universal” I mean everyone will be using the same one. Thank you!

    Hi Chadhively, did you come up with a solution for this? I have a similar issue. Thanks!

    Thread Starter chadhively

    (@chadhively)

    I did, but not with contact form 7. I installed Fast Secure Contact Form and they have a regex option for each field. So what you do is under the “Promo Code” field (or whatever field you’re needing it for), enter ^yourcode^. This will then require the field to match your code. Make sense? You can also add a return error message if they don’t enter the code correctly. It’s a great tool. Let me know if you have any quesions!

    If I have multiple promo codes how would I format it?

    RoyceMBA

    (@roycemba)

    I have the same problem. What if you have 20 promo code?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Integrate promo code validation into Contact Form 7’ is closed to new replies.