Conditional redirection ?
-
-2
down vote
favorite
i’m trying to do a redirection on Contact form 7.Example: If user have tick the checkbox A value, on submit, it will redirected to page 1. But If user have tick checkbox B value, it redirect the user on page 2 for user.
All the thread I’ve ben reading speak about on_sent_ok , otherwise this doens’t seem to work since the late version from what I have been reading
on_sent_ok: " if (document.getElementById('attending').value=='yes') {location.replace('/success')} else { location.replace('/not-attending') } "
Any help ? It will be amazing !
Thanks
- The topic ‘Conditional redirection ?’ is closed to new replies.