EPiServer XForms Implementation - Some Pointers
EPiServer XForms is a pretty sweet alternative when it's up and running. However, implementing XForms is not always the simplest thing. Here are some reminders and pointers to get your XForms ready faster:
First of all, take a look at the Public Templates implementation of XForms. Then:
- Copy XForms.ascx + cs files to your project.
- Copy the XForms specific events from global.asax.cs to your project's global.asax.cs.
- Make sure your SMTP settings are correct. If they aren't, there will be no redirect after the XForm is posted, and therefore no thank you message will be displayed.
Particularly the XFormAfterSubmitPostedData event (global.asax.cs) is interesting. Obviously it decides what happens after a form is posted.
Here is a helpful post on XFormAfterSubmitPostedData and SMTP settings.