Try our conversational search powered by Generative AI!

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?
Apr 05, 2006 10:51
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: ds.
Apr 07, 2006 10:49
* 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.