Custom Forms widget automatically redirecting to a page with itself (1.6RC)

Topics: General, Troubleshooting
Oct 19, 2012 at 11:18 PM

Just testing 1.6RC and I am having this problem:

I set up a widget with Custom Forms module. I then specify for it to redirect to a ~/Submitted page. However, when I submit the form I get redirect to the following:

/Orchard.CustomForms/Item/Create/139

which is a page with the widget form itself. No submission.

I saw some discussion on it, but the solutions don't seem appropriate.

Any thoughts? Is this a bug?

FYI, this same scenario worked under 1.4 for me (i.e., I made no changes to my widget form with 1.6RC).

Coordinator
Oct 20, 2012 at 1:13 AM

Please file a bug.

Oct 20, 2012 at 5:05 PM
Edited Oct 20, 2012 at 5:18 PM

that just do what i need, especially for widgt.

i think we can do 1)if "redirect to", then first redirect to

2)if no, do as 1.6rc do

---------------

another bug

i found when visitor go to log in page, after log in, it show custom form only, not to the original page as 1.6rc do.

 


Oct 20, 2012 at 6:27 PM
Edited Oct 20, 2012 at 7:03 PM

I don't think that behavior should be the default whether a widget or a page. After submission the default should be a submit message, unless a specific message is selected by form creator or a specific redirect is selected by form creator. 

Jul 15, 2013 at 9:36 AM
I have custom form with reCaptcha in widget. If i filled in the invalid data, after submittion I am redirected to homepage, but i want to stay in the page where widget is placed.

How to do this?
Coordinator
Jul 15, 2013 at 7:08 PM
Fixed in 1.7 I am almost sure