Hi,
Putting %server[HTTP_REFERER] in a hidden field as the default value passes incorrect information if normal caching is enabled in the site's performance settings. Any way around this?
Thanks in advance.
Hi,
Putting %server[HTTP_REFERER] in a hidden field as the default value passes incorrect information if normal caching is enabled in the site's performance settings. Any way around this?
Thanks in advance.
Comments
Comment #1
quicksketchUnfortunately there is not, as far as I know. When generating pages for anonymous users, Drupal will cache the entire page from top to bottom, including any default values set in Webforms.
Comment #2
mtndan commentedThanks for the reply.
I got around this by using a little jquery in a markup field. See http://drupal.org/node/282194#comment-1019807
Comment #3
quicksketchClever! I'll go ahead and mark this as fixed.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
josepvalls commentedThere is no jQuery Cookie module available for D6.
Any other workaround? Maybe it should be possible to specify JS for the default values somehow.
Comment #6
quicksketchI'd suggest following #630476: Allow hidden fields to handle unsafe tokens by making the "value" type fields, which seems like a good option.