I'm using webform query tokens as the default value for some of my fields: [current-page:query:subject] to populate the field if the url is http://example.com?subject=test

Sometime the url query string will not be present: http://example.com in which case the default value for the field should default to empty; however, the token is beind displayed as the default value in the form.

Any solutions to solve this issue?

Thanks,

Comments

DanChadwick’s picture

Category: Bug report » Support request
Status: Active » Closed (duplicate)

Search first please.

Gere’s picture

I have the same problem. I use profile values for logged in users in forms. If user nog logged in or a stored value is empty the token shows in the form field instead of showing an empty field as some time before. (It must be caused by a change in the update of the token handling in the Webform module...

I've searched for a solution but not yet found...

drummondf’s picture

I've searched for an answer to this issue but have not found one - can someone please post a link to the thread where this was solved?

To re-state my issue, my site uses URL queries. When they are absent the token is passed in the URL - I need to set a default and do not know how to do that. If there is an existing solution please show me.

Thank you