问题
When one has added a WFFM form to a Sitecore Item, you can go to the Presentation Details and click on Form. There you'll see an option called ReadQueryString - Reads initial values from the url query string.
My form has a few fields, one of which being Email
. I tried adding ?Email=test
to the URL of the page that hosts this form, but the value is not being picked up. Am I correctly understanding the intended purpose of this option? Am I using it correctly?
Sitecore version 6.5; Web Forms for Marketers version 2.3
回答1:
You understood the purpose correctly, when that option is checked the form's initial values are read from the querystring. I have used this in my project and it works fine.
Make sure that you are using the field's item name in the querystring, not the displayname or title.
Also double check if you published the item after checking the ReadQueryString
option.
来源:https://stackoverflow.com/questions/14227109/sitecore-webforms-for-marketers-form-use-readquerystring-option