Form Wizard Pro - Custom Form Submission Handler Not Fired

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/17/2013 10:06:06 AM
Gravatar
Total Posts 2

Form Wizard Pro - Custom Form Submission Handler Not Fired

Hi Joe,

Unless my coffee hasn't kicked in yet, I believe I have discovered a bug relating to Form Wizard Pro.  Here are the relevant details:

mojoPortal Version: 2.3.9.7 MSSQL
Operating System: Microsoft Windows NT 6.0.6002 Service Pack 2
ASP.NET Info: v4.0.30319 Running in Full Trust
sts-FormWizard 2.6.1.0

Steps to Reproduce Problem:

  1. Add FWP instance to page with one text box and configure one optional file upload
  2. Tie form to a custom form handler with the following test code

    namespace SimpleRedirectEventHandler
    {
        class DoRedirect : FormSubmissionHandlerProvider
        {

            private static readonly ILog log = LogManager.GetLogger(typeof(DoRedirect));

            public DoRedirect()
            { }  

            public override void FormSubmittedEventHandler(object sender, FormSubmissionEventArgs e)
            {
                log.Info("MyCustomFormSubmissionHandlerProvider called");

                HttpContext.Current.Response.Redirect("http://www.yahoo.com");
            }
        }
    }

  3. If I then test the form, the above form submission event handler will be fired as long as I click "Finish Without Uploading".  However, if I attempt to upload any file, the handler will not be fired.

 

I realize I don't have the latest versions of FWP/Mojo installed, but I didn't see this bug (or fix) noted anywhere on the site.

Thanks for investigating this,
Shaun

12/17/2013 10:25:12 AM
Gravatar
Total Posts 18439

Re: Form Wizard Pro - Custom Form Submission Handler Not Fired

Hi Shaun,

Looking at the latest code it looks like it should work. There was a bug about email not being sent with forms that had file uploads and that was fixed not long ago so this may be a related bug that was also fixed.

If you update to the latest version and the problem persists I will look into it.

Best,

Joe

12/17/2013 5:10:18 PM
Gravatar
Total Posts 40

Re: Form Wizard Pro - Custom Form Submission Handler Not Fired

The upgrade fixed the issue.  Thanks Joe!

You must sign in to post in the forums. This thread is closed to new posts.