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

quicksketch’s picture

Unfortunately 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.

mtndan’s picture

Thanks for the reply.

I got around this by using a little jquery in a markup field. See http://drupal.org/node/282194#comment-1019807

quicksketch’s picture

Category: bug » support
Status: Active » Fixed

Clever! I'll go ahead and mark this as fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

josepvalls’s picture

Category: support » feature
Status: Closed (fixed) » Active

There is no jQuery Cookie module available for D6.
Any other workaround? Maybe it should be possible to specify JS for the default values somehow.

quicksketch’s picture

Status: Active » Closed (fixed)