Following is the process or configuration to do that.
When you try to add a WFFM form using default WFFM "Form" webcontrol, you will see a checkbox with name "ReadQueryString" (refer below image).
If you have this checkbox is clicked, and if you pass any url parameters with a name of a fields in the WFFM form, sitecore will automatically populate that value (as you see in the above image)
Good tip, I thought that is an 1 April Fool.. But the Field is there, and it works :)
ReplyDeleteAwesome, thanks!
ReplyDeleteI am working on multilingual site, so added versions for each field in other languages. This is not working for any other language apart from English where field name exactly matches with querystring.
ReplyDeleteHow to achieve pre-populating field values in multilingual site setup?
by " so added versions for each field in other languages" did you mean you directly went to field item of the form and added language versions ? To translate a form, you need to go to Form Designer and change the language. then translate the fields using form designer.
ReplyDeleteIf the field name is same, this should populate it in any language (haven't tried it though)