• Resolved Dewdan

    (@dewdan)


    Hi,

    I have used your plugin and must say it’s been fantastic.

    I have a question.
    I have set a group with an empty text field and I’m trying to show the default alert and redirect to a specific website when that field is NOT EMPTY.
    Is that possible?

    [group group-387]<label>[hidden text]</label>[/group]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    I’m not 100% sure what you are trying to do, but does this help?: https://conditional-fields-cf7.bdwm.be/conditional-redirect/

    If not, please set up your form here >https://conditional-fields-cf7.bdwm.be/form-tester/ and share the link back here so I can understand what you want to do and try to fix your form.

    Thread Starter Dewdan

    (@dewdan)

    Thank you @jules-colle,

    That will not help as it will redirect only if that button is chosen.

    I just want to have a group that is hidden to human eyes and if bots fill it up then on submit I want to redirect them without sending the form.

    Plugin Author Jules Colle

    (@jules-colle)

    Most bots are smart enough to not fill out invisible fields. With the current javascript support of modern browsers it’s pretty trivial for a bot to just check if a field is visible or not. So I assume most bots will leave the value blank. If you are looking for anti-spam solutions I think you’d be better off using the captcha functionality included in Contact Form 7. If that doesn’t work for you, you could make the form a bit more complicated and use custom validation to determine if the filled out fields are what you expect a human to fill in. I think using conditional fields for this purpose is just adding more complexity without a desired result. If you could give me the details of your form and tell me what kind of traffic you would like to block specifically, I might be able to help you decide on a strategy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.