Postponed
Project:
Webform Block
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2009 at 12:37 UTC
Updated:
22 Feb 2010 at 22:20 UTC
Say I have chosen to use "message:some message here" as the result of submitting a webform, then when the form has submitted I am redirected to the same page with the #nodeXX anchor appended to the url which means that unless my design allows for the messages div to show next to my form the user won't see it because the browser has scrolled past it.
So, is there any way of removing or altering the anchor part of the redirect url?
Comments
Comment #1
bradezone commentedIndeed, this is not optimal.
Comment #2
bradezone commentedJust found out this happens even when you use "internal:" instead of "message:" to send them to another page. This is unfortunate because it's a great module, but why on earth is that pesky anchor tag being added to the redirect URL's?? I can't imagine many people find that desirable.
Comment #3
psynaptic commentedI have removed the anchor for now. I am intending to use preprocess_node to add it and want messages to be output inline with the form (in the node). When I add this option back I will make it optional.
Comment #4
psynaptic commented