Project:Prepopulate
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I tried to use prepopulate with webform but couldn't manage it. I'd like to create link for image which loads prepopulated webform. No relation to CCK, straight href.

Comments

#1

You want:

?edit[submitted][webform_field_name]=Happy text value here

where "webform_field_name" is the name of the field in your form. Have a look at the name and id attributes for the input element for which you're trying to supply a value, and mash them up a bit using this pattern.

#2

You can also just use webform's built-in capability to prepopulate a form field from the url by setting %get[key] as the standard-value of a field and then calling the webform with /webform-url?key=value. No need for the prepopulate module then.