web-forms-for-marketers

Webforms for marketers form fields conditional visibility dynamically

你离开我真会死。 提交于 2019-12-04 12:23:55
问题 We are using WFFM for our landing pages creation. It is very easy for our marketing guys to use that. Now, we are looking at customizing them. For instance, we have the following requirement. On our form, we display country of residence, but when you select some countries, we want to display one more dropdown called state/province with the states. When user selects other countries, we have to hide the state/provice field. I am banging my head, how can I start implementing this. Can anyone of

How do I get the value of a WFFM field as a tag and output it in a Sitecore DMS report?

不打扰是莪最后的温柔 提交于 2019-12-04 03:56:38
问题 If I create a Web Forms For Marketers form with Analytics enabled I can choose to add each field as a tag to a Visitor. I can't see how to configure which tag they should be added to, or even what the tag is called by default (I'm assuming a tag with the field name is created). I'd also like to know how to retrieve the tag data in a visit report (i.e. the one you'd get if you double clicked on a form submission in the Form Reports dialogue). I can see how to access plenty of inbuilt tags, but

Webforms for marketers form fields conditional visibility dynamically

六月ゝ 毕业季﹏ 提交于 2019-12-03 08:55:25
We are using WFFM for our landing pages creation. It is very easy for our marketing guys to use that. Now, we are looking at customizing them. For instance, we have the following requirement. On our form, we display country of residence, but when you select some countries, we want to display one more dropdown called state/province with the states. When user selects other countries, we have to hide the state/provice field. I am banging my head, how can I start implementing this. Can anyone of you guide me, how to proceed? Try the following: Create a DropList field on your form in Sitecore Add

How to get the Sitecore.Current.Site object inside custom save action WFFM?

僤鯓⒐⒋嵵緔 提交于 2019-12-02 00:09:32
I'm using Sitecore Webforms For Marketers . In the save action of my form I get the Sitecore.Context.Site object, but the object doesn't return the right context. The value is "modules_shell". Does anyone know how I can get the right context? Thanks a lot. Without knowing the specifics of your setup I would suggest determining the correct site in the same way that Sitecore's site resolver does: var url = System.Web.HttpContext.Current.Request.Url; var siteContext = Sitecore.Sites.SiteContextFactory.GetSiteContext(url.Host, url.PathAndQuery); I have code for this exact problem here: http:/

How do I get the value of a WFFM field as a tag and output it in a Sitecore DMS report?

佐手、 提交于 2019-12-01 20:52:16
If I create a Web Forms For Marketers form with Analytics enabled I can choose to add each field as a tag to a Visitor. I can't see how to configure which tag they should be added to, or even what the tag is called by default (I'm assuming a tag with the field name is created). I'd also like to know how to retrieve the tag data in a visit report (i.e. the one you'd get if you double clicked on a form submission in the Form Reports dialogue). I can see how to access plenty of inbuilt tags, but I can't find out how to fill these specifically from the form, and I cant see any fields in the report

Conditional Renderings with JavaScript Regex

拥有回忆 提交于 2019-12-01 09:31:38
I need to match on a string such as this: 'if Country equals "United States" then Show' I'm working with the Webforms for Marketers Module in Sitecore. Sitecore is a .NET based CMS. The Webforms for Marketers Modules is a module that provides a GUI for non-developers to design forms with textboxes, drop-down lists, checkboxes, etc... I have requirements to only show certain fields on the form if the user picked a certain option in a previous field. For example: only show the States drop-down list if the user picked "United States" from the Country drop-down list. The problem is, the WFFM

Conditional Renderings with JavaScript Regex

隐身守侯 提交于 2019-12-01 08:40:35
问题 I need to match on a string such as this: 'if Country equals "United States" then Show' I'm working with the Webforms for Marketers Module in Sitecore. Sitecore is a .NET based CMS. The Webforms for Marketers Modules is a module that provides a GUI for non-developers to design forms with textboxes, drop-down lists, checkboxes, etc... I have requirements to only show certain fields on the form if the user picked a certain option in a previous field. For example: only show the States drop-down

Web Forms For Marketters (WFFM) Html input tag with placeholder attribute

两盒软妹~` 提交于 2019-11-29 20:48:04
问题 I have a requirement in which I'm implementing sitecore WFFM to create a form. The page has HTML input tags with Placeholder attribute. I have to render the WFFM SingleLineInput box to a input tag with placeholder attribute. What should I do? I know that the SingleLineText class is define in the Sitecore.Form.Web.UI.Controls dll. 回答1: You can achieve this by extending SingleLineText with an additional property to store the placeholder's text value. Once the property is in place, you'll need