Try our conversational search powered by Generative AI!

Xform

Vote:
 

Hi I'm new to Episerver and I'm trying to add a custom XForm to an existing page. I've Created the Form in the CMS and now i want to add it to a existing page and bind some values to the form that will be sent when submitting.

#140175
Oct 12, 2015 15:05
Vote:
 

Have a look at Chris' blog about how to add, render, validate and handle the postback for an XForm. It uses blocks but it's a very similar concept for pages. If you have any questions about this then post again.

http://cjsharp.com/blog/2013/04/11/creating-a-xform-block-in-episerver-7-mvc-with-working-validation-updated/

#140196
Oct 12, 2015 17:05
Vote:
 

If you use IE and want a "quick fix", you can use ctrl-shift-c in the Xforms editor to copy the raw html of the form. You can then paste it into notepad, edit it, copy it and use ctrl-shift-v to paste it back over the existing form.

#140200
Oct 12, 2015 19:13
* 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.