Sitecore - Webforms For Marketers Form - Use ReadQueryString Option

萝らか妹 提交于 2019-12-24 02:01:52

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!