Closed (fixed)
Project:
Webform
Version:
7.x-4.2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
28 Nov 2014 at 10:32 UTC
Updated:
22 Dec 2014 at 11:44 UTC
Jump to comment: Most recent
In webform 3 i could link from another page like this:
/webform?title=test
In my webform i added: %get[title]
So the name TEST was added in the textfield.
This ain't working in Webform 4.
Is there another solutions?
Kind regards.
Comments
Comment #1
danchadwick commentedFirst, the %-style tokens were change to the [token:subtoken:subsubtoken] style that is supported by the token module.
Second, the get and post tokens were removed. Webform supplies tokens related to the webform. If you'd like get and post tokens, you can write a small custom module that supplies them, or there may be a contrib modules that does this (I haven't searched).
Best of luck.
Comment #2
mindhunter75 commentedThank you DanChadwick,
Too bad it isn't supported anymore.
I will go and search for other solutions.
Thanx again!
Comment #3
hercibadabad commentedHi mindhunter75,
You can use tokens to get keys from the URL.
If your url is something like that: /webform?title=test
You should use
[current-page:query:title]instead of %get[title].Comment #4
mindhunter75 commentedHye hercibadabad,
Thank you! It works great!!!
Just what i needed!