November Happy Hour will be moved to Thursday December 5th.

Displaying xform form on a page

Vote:
 

I've just created a new page type with an xform property and created a form with some test data but I'm stuck on how to actually display it.

Looking at the value that comes back from the "xForm" property is a GUID. How do I pull the form back and display it from that GUID?

thanks!

 

Jon 

#33126
Oct 02, 2009 13:47
Vote:
 

For just a simple display of an XForm on a page, you are in no need of its GUID and the control below would suffice:

<EPiServer:Property PropertyName="xForm" runat="server" />

If you want to do more hands-on operations with the XForm, for instance alter the content before or after submitting posted data, there are numerous examples in the demo template packages as well as in the code samples section on this site.

Hope it helps,
/Marten

#33170
Oct 04, 2009 11:03
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.