I love the flexibility of webforms but have run into a snag that I am hoping someone can guide me in getting resolved:

I am making use of special tokens to get certain unique values prepopulated into a form from another site.

Naturally and correctly if a unique value is entered a second time into the webform (i.e. same person trying fill in the form for a second time) an error message is displayed to the person trying to fill in the form.

Instead of the error message being displayed can I get the form to automatically redirect to the site login page?

Any help will be highly appreciated.

Comments

hitman007’s picture

Issue summary: View changes
danchadwick’s picture

Version: 7.x-3.19 » 7.x-4.x-dev
Status: Active » Closed (won't fix)

You would have to write your own validation handler for this and install it using hook_form_webform_client_form_alter.