Sitecore webform for marketer posting submit action to layout instead of an item - sitecore

We have setup a webform using webform for marketer module in sitecore.
Using this module, we are creating web forms where users can fill details and submit the form. On submit, we can do actions such as storing in database, send email etc.
Now we were able to creat such form using webform for marketer module in sitecore. Now the problem is when user fill the form and hit submit button, instead of posting this action to the page, request is getting redirected to layout in sitecore. This is a same layout we are using to resolve the page on backend.

I have found solution on this link.
http://sdn.sitecore.net/SDN5/Forum/ShowPost.aspx?postid=37264
For some reason App_Browser folder was missing from site. Once i put that folder in. It started working.
Also, i was reading on sitecore sdn site that, in 6.4.1 version, they are removing need for App_Browser

Related

Page reload after form submit using WFFM Sitecore8

I have created one form using WFFM, and a sending mail on tap of submit button,
After click on submit button it display message "Thank you for filling in the form" and textbox is hidden after submission the form. and when I refresh website it ask me to repeat action.
How can I hide the form after submission?
Changing the Success Mode field to Redirect would certainly be a good workaround to your problem. A dedicated thank you page has the added benefit of being easier to goal track with 3rd party analytics tools like Google Analytics.

Sitecore Web Form for Marketers - create a cookie

This is a two part question.
Using Web Forms for Marketers 2.3:
Is it possible to have a cookie be created on successful submission?
Without actually exporting the ascx file, would like to keep it in Sitecore.
Second question, would it be better to have a content editor choose which item has the form or would it be better/easier to have a dropdown to pick which form is needed and then have the code determine which form to show.
Thank for any insight!!!
For the First question,
If you have Sitecore DMS, on a successful submission there is an event, and a Goal maybe you can use that, insteed of a cookie.
See https://doc.sitecore.net/sitecore%20experience%20platform/personalization/walkthrough%20personalizing%20components for using it with personalization rules the picturs are for Sitecore 8 but basically the same for Sitecore 6.5+
Programmatically you can use the Analytics API, see https://sdn.sitecore.net/upload/sitecore6/65/engagement_analytics_api_cookbook_sc65-a4.pdf for Sitecore 6. The API has changed considerably with Sitecore 7.5.
An alternative is to set the cookie on the Success page.
you can have a Success page, or a Success message in WFFM. for a message use something like this:
Thanks <script>document.cookie="formsuccess=ok";</script>

Sitecore webforms for marketers save action

For a webshop i'm using Sitecore Webforms For Marketers. There is a multiple server configuration with 2 Content Delivery Server(CDS) and 1 Content Management Server(CMS). On the CDS servers is no possibility to write data, so i have configured a webservice to forward the form data from the CDS to the CMS server.
What's the goal? There are 2 forms where a user can:
Post a review for a product at the products detail page
Post a review for a product and select the product in a dropdownlist at a global
page
The problem is that i have less experience with Sitecore Webforms For Marketers. It's important that the review's parent item the right product is. I have read the developer manual and figured out there are several save actions, but not the one i prefer. Do I need to create a custom save action or is there a simple workaroud (e.g. with workflows)?
Thanks a lot!
Jordy
Create a save action that calls your web service and submits the data to your CM instance.

Sitecore (Web Forms for Marketers) success page

Let's imagine I've made a simple form using the Web Forms for Marketers module 2.2 (for CMS 6.4), and have set this up to use a 'success page' (server side redirect to a specified sitecore item). This works great.
Now it turns out that the thank you page needs to show certain field variables from the form which was just submitted.
"Dear x, thank you for your interest in Y".
On the success page, it seems like there is no way to retrieve the information (server-side) I need to show this information.
What would be a good way to approach this problem?
Is there a way to hook into sitecore webforms before the page is redirected to the success page (so I can pass along an orderId, for example)?
You can create a custom action which will give you access to all the forms data. From the action you can redirect the user to the appropriate place. You can find documentation on how to create a custom action in the reference guide on page 42.
Make sure your action is always after Save To Database because otherwise the data won't be saved.

facebook registration plugin form's target problem

I am using facebook registration plugin .
(http://developers.facebook.com/docs/plugins/registration/)
I need to use it in a modal box or in an iframe.
but there is a problem about its form target.
form sends data to "_top" frame.
How can I change it to "_self" or "mytargetname"
This is a known issue with facebook registration plugin.
Refer this link : http://bugs.developers.facebook.net/show_bug.cgi?id=15062