web-forms-for-marketers

Modifying WFFM Information Using c#

拜拜、爱过 提交于 2019-12-11 12:09:17
问题 We have setup a simple form using Web Forms For Marketers on our Sitecore 6.4.0 site. The form is logging information just fine, and we have written a page to allow end-users to view the results, using the code from http://r-coding-sitecoreblog.blogspot.com/2011/11/extracting-data-from-sitecore-wffm.html mainly. The next step in the progression is to allow a user to approve/reject a submission, and to either pass that form submission's information to a method, or to delete that form

Sitecore ERROR rebuilding “Quick Search Index” after WFFM 2.4 install attempt - System.Threading.LockRecursionException

喜你入骨 提交于 2019-12-11 09:20:11
问题 I attempted to install WebForms for Marketers 2.4 on Sitecore 7.2 Initial Release. The install process would just hang, and never finish. I ultimately restored the databases from a backup, and restored the file structure. However, we started seeing hundreds (1300+ in the last 12 hrs) of these errors in the logs: ManagedPoolThread #11 23:59:31 ERROR Could not update index entry. Action: 'Saved', Item: '{656E306F-8837-42E6-8334-38E44D39B736}' Exception: System.Threading.LockRecursionException

Sitecore - Webforms for Marketers 2.3 - Inserting a new form into a page

别说谁变了你拦得住时间么 提交于 2019-12-11 03:23:35
问题 I'm trying to insert a new form I created in Webforms for Marketers 2.3. I go to the page I want to insert the form on, presentation tab, form, Insert. I select the form I created but then get a message - "There are no allowed placeholders in order to insert a new form". I then went to Layout-Placeholder Settings-Content and added Layout-Renderings-Modules-Webforms for Marketeres - Form. No success. I've also tried adding the form while it was and was not in the Webforms for Marketers

Can't insert a Web Forms For Marketers form because there are no Placeholders

无人久伴 提交于 2019-12-10 21:34:29
问题 We are trying to fix an old issue with our Web Forms for Marketers module (I think it is 2.2, but I don't know how to tell) in Sitecore 6.4.1 running .NET Framework 2.0. I am having trouble even adding a form to an item. I am making an assumption that I should be using the "Insert Form" button in the presentation tab of my item. When I click that button I get a wizard that goes fine until it tells me the following: "There are no allowed placeholders in order to insert a new form." Ignorning

WFFM 8.0 - Save to Database action missing

主宰稳场 提交于 2019-12-10 18:59:33
问题 I have just installed Web Forms For Marketers 8.0 and do a test form. Trying to select Save to Database from the list of action but it is not there. Also, I have checked /sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions but it is not there as well. Why did they remove saving to database? How do I return it back again (as that is a requirement on my existing project? 回答1: First of all, you should not worry about, saving to SQL database is still there. What happened

Conditional fields using web forms for marketers?

笑着哭i 提交于 2019-12-10 17:16:29
问题 I need to show/hide a field based on the value entered in another field. The field that is conditionally made visible also needs to be a mandatory field. Is this possible using WFFM? Will I need to do it using custom fields? Thanks! 回答1: You would need to build a custom complex type to do this. You might be able to re-use existing field types in your custom type, but it would probably be simpler to create them specifically for the new complex type. 回答2: You can use JQuery for this and also

Web Forms for Marketers - Submit form data programmatically

落爺英雄遲暮 提交于 2019-12-09 23:41:37
问题 I'm currently scoping whether or not to include Web Forms for Marketers on a project I'm currently working on. The web site will be a responsive design with a rich UI and so I would like to have full control over the rendering of the form, e.g. labels, input fields etc and would rather not have to modify the WFFM SitecoreSimpleFormAscx.ascx file or the associated css file. Is there currently any way, using C# code, to submit some form data to a Web Forms for Marketers form that is already

Sitecore CustomValidator does not fire on WFFM custom field

浪尽此生 提交于 2019-12-07 12:48:20
问题 I've try to extend SingleLineText field on WFFM on Sitecore. This field will have CustomValidator. But ServerValidate event does not fire when page postbacked. The snipped code below. public class SingleLineText : Sitecore.Form.Web.UI.Controls.SingleLineText { protected override void OnInit(EventArgs e) { base.OnInit(e); var validator = new CustomValidator() { Display = ValidatorDisplay.None }; validator.ServerValidate += this.Validator_ServerValidate; this.generalPanel.Controls.Add(validator

Sitecore CustomValidator does not fire on WFFM custom field

风流意气都作罢 提交于 2019-12-06 00:19:32
I've try to extend SingleLineText field on WFFM on Sitecore. This field will have CustomValidator. But ServerValidate event does not fire when page postbacked. The snipped code below. public class SingleLineText : Sitecore.Form.Web.UI.Controls.SingleLineText { protected override void OnInit(EventArgs e) { base.OnInit(e); var validator = new CustomValidator() { Display = ValidatorDisplay.None }; validator.ServerValidate += this.Validator_ServerValidate; this.generalPanel.Controls.Add(validator); } protected void Validator_ServerValidate(object source, ServerValidateEventArgs args) { // does not

Web Forms for Marketers - Submit form data programmatically

泪湿孤枕 提交于 2019-12-04 18:54:30
I'm currently scoping whether or not to include Web Forms for Marketers on a project I'm currently working on. The web site will be a responsive design with a rich UI and so I would like to have full control over the rendering of the form, e.g. labels, input fields etc and would rather not have to modify the WFFM SitecoreSimpleFormAscx.ascx file or the associated css file. Is there currently any way, using C# code, to submit some form data to a Web Forms for Marketers form that is already created in Sitecore (assuming I have knowledge of all the fields)? The WFFM reference guide has a code