sitecore web form for marketers form post to external url

一笑奈何 提交于 2019-12-11 13:55:11

问题


We are using Sitecore's Web form for Marketer's module to generate forms. Now i have a special requirement, i need to created a form using Web Form for Marketer's module which will post to an extrenal site web page. External site web page is expecting certain form fields so i need to make sure that form fields generated by Web Form for Marketer has id/name as we want to send it to page on external site.

Is this possible using web form for marketers? If not what would be best practice to have such form in sitecore?

We are using sitecore 6.4.


回答1:


The easiest way to implement it is to create custom Web Forms for Marketers Save Action, and assign it to the form.

In that action, just read the field values and post data to external form using WebRequest, see the example here - How to submit http form using C#



来源:https://stackoverflow.com/questions/8593799/sitecore-web-form-for-marketers-form-post-to-external-url

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