This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.
Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.
Before posting questions here you might want to review the developer documentation.
Hi,
I am using form wizard pro Custom Form Submission Handler.
As per given link "https://www.mojoportal.com/implementing-a-custom-form-submission-handler.aspx"
I have created custom form submission handler but it didn't showing any data on page after submit form wizard pro.
I am adding code in constructor as below and just adding print code and data insert code but it's not working.
Also, it is not getting debugger into this class in code library.
public MyCustomFormSubmissionHandlerProvider() { HttpContext.Current.Response.Write("Hello");
Guid ResponseSetGuid = Guid.NewGuid(); Guid QuestionGuid = Guid.NewGuid(); string str2 = "pop@gmail.com"; SqlConnection con = new SqlConnection(@"Data Source=FTSSM027\SQL2012ADV; Initial Catalog=MojoPortalSource; Integrated Security=SSPI;"); con.Open(); SqlCommand cmd = new SqlCommand("Insert into sts_WebFormResponse(ResponseSetGuid, QuestionGuid, Response) values('" + ResponseSetGuid + "','" + QuestionGuid + "','" + str2 + "')", con); cmd.ExecuteNonQuery(); }
Please reply ASAP.
Thanks and Regards,
Prafull
a form submission handler is not UI code, why would you expect the code you posted to affect the UI?