XForm - reset form

I want to reset all fields (textboxes and textareas) in an Xform after the submit button is pressed. Does anyone know how to do this?
Mar 25, 2008 18:35
Just add the following code: FormControl.AfterSubmitPostedData += new SaveFormDataEventHandler(FormControl_AfterSubmitPostedData2); public void FormControl_AfterSubmitPostedData2(object sender, SaveFormDataEventArgs e) { FormControl.Data = null; } ps. The code above builds on the alternative xform user control found at this link: http://www.episerver.com/en/EPiServer_Knowledge_Center/developerforum/2628/6042/6043/ ds.
Mar 25, 2008 18:45
* 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.