Form Redirection not working
Posted by Jdubs - May 19 ’15 at 04:05
I've created 3 forms in 1 using the "Add Group" functionality.
On each "New Form," I redirect the user to a separate Submission Confirmation page (each on a separate Site Collection).
On one "New Form" for one of my Group forms, the redirection isn't going to the page, but rather the library itself (which is exactly what I don't want.)
Any idea how to resolve this?
-
JdubsMemberMember for: 7 years 4 months 29 days
And just to be clear, 2 of the 3 "New Forms" redirection are working fine ... so it seems like a technical glitch to me so I'm not sure where to start as far as troubleshooting.
-
Dmitry KozlovAdminMember for: 8 years 7 months 26 days
[#1]: Did you put the URL into the General settings in Forms Designer? Please, ensure that you did it for all groups of forms. Also, the URL must be server-relative, e.g. /sites/mysite/page1.aspx
-
JdubsMemberMember for: 7 years 4 months 29 days
[#2]: Yes, all URLs are in the General settings (not sure where else this type of information would go?).
I've verified that URLs are in all groups of forms.
Here's the URL structure for each group:
- Group 1 (WORKS!): https://intranetSiteX/sites/SiteCollection/SubSite/Pages/SubmissionConfirmation.aspx
- Group 2: (WORKS!): https://intranetSiteX/Accounts/AccountA/Pages/SubmitConfirmation.aspx
- Group 3: (DOES NOT WORK!): https://intranetSiteZZ/Pages/SubmissionConfirmation.aspx
- Group 3 instead redirects to https://intranetSiteX/sites/SiteCollection/SubSite/Lists/ListName
-
JdubsMemberMember for: 7 years 4 months 29 days
After further testing, I've narrowed it down to the Submission redirect on the Group form that isn't working.
When I put the URL into the "Cancel" redirection, it works as intended.
Doesn't make any sense to me :(
-
JdubsMemberMember for: 7 years 4 months 29 days
[#4]: To be clear, when I insert the URL I'm wanting to work into the "Cancel" portion, it works fine. When I enter the same URL into the "Submission" portion, it redirects to the list.
(For the other Group forms, this is not an issue.)
-
Dmitry KozlovAdminMember for: 8 years 7 months 26 days
[#5]: Hi,
Please, ensure that the submission URL leads to a page from the same domain where the form is located. You cannot specify a cross-domain redirect. To work around this lack, please, create a page on the same site where the form is located and redirect users from this page to another domain with the help of JavaScript. Next, specify the URL of this page in Forms Designer. Does it make sense?
-
JdubsMemberMember for: 7 years 4 months 29 days
[#6]: I know what you're saying, but honestly it's not adding up on my end.
I'm successfully redirecting to a page outside of the domain on 2 of the 3 forms on the submission URL.
And, on the 1 out of 3 forms that does NOT work, the redirecting to a page outside of the domain works for the Cancel redirection.
So essentially there's only 1 Submission URL that isn't working how I expect, but the others are doing exactly what I want them to do.
I'll look at the workaround you suggested, thanks for your help.