开发者

sitecore: webforms for marketers, one form, two pages

开发者 https://www.devze.com 2023-01-15 14:49 出处:网络
I want to use single form for several pages like a block开发者_如何学C. Sitecore always creates a new form for a page.

I want to use single form for several pages like a block开发者_如何学C. Sitecore always creates a new form for a page. How to share/reuse a form?


Depends on weather you are using WFFM 1 or 2 but it is quite similar.

Go to "Presentation/Layout details" for the item (page) that holds the form. You will find a rendering called "Form Interpreter" click this.

If you are using WFFM2 there is a "FormID" field that has your form selected. Just add a similar rendering to every page that you want the form to appear in and select the same form.

For WFFM1 there would be a parameter called "FormID" and a sitecore ID, copy this ID and the same renderings to the other pages including the parameters.

Good luck, Larre


There's an option to select a form to copy from. See paragraph 2.3.1 "Copying an Existing Form in the Page Editor" of this guide.


I had same issue with WFFM MVC version 8.1 (initial release) our content editors wanted to use experience editor(page editor) and didn't want to change the datasource by going to presentation details and updating the datasource. It doesn't need any coding

1- Copy /sitecore/layout/Renderings/Modules/Web Forms for Marketers/Mvc Form and give it a name "Custom Form"

2- Set the Data source location

sitecore: webforms for marketers, one form, two pages

3- Add the new rendering to place holder settings

/sitecore/layout/Placeholder Settings/content

sitecore: webforms for marketers, one form, two pages

my blog post http://azadehkhojandi.blogspot.com.au/2016/01/how-to-reuse-web-forms-for-marketers.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号