Sitecore-针对营销人员的Webforms表单-使用ReadQueryString选项 [英] Sitecore - Webforms For Marketers Form - Use ReadQueryString Option

查看:90
本文介绍了Sitecore-针对营销人员的Webforms表单-使用ReadQueryString选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将WFFM表单添加到Sitecore项后,您可以转到演示详细信息",然后单击表单".在那里,您会看到一个名为ReadQueryString - Reads initial values from the url query string.

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.

我的表单有几个字段,其中一个是Email.我尝试将?Email=test添加到托管此表单的页面的URL中,但未获取该值.我是否正确理解此选项的预期目的?我使用正确吗?

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 6.5版;营销人员Web表单版本2.3

Sitecore version 6.5; Web Forms for Marketers version 2.3

推荐答案

您正确理解的目的,当选项被选中的形式的初始值从查询字符串读取. 我已经在我的项目中使用了它,并且效果很好.

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.

请确保您在查询字符串中使用字段的项目名称,而不是显示名称或标题. 还要再次检查ReadQueryString选项后是否发布了该项目.

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.

这篇关于Sitecore-针对营销人员的Webforms表单-使用ReadQueryString选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆