Form Redirection not working

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Jdubs
Posts: 73
Joined: Fri Dec 19, 2014

19 May 2015

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?

Jdubs
Posts: 73
Joined: Fri Dec 19, 2014

19 May 2015

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.

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

20 May 2015

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

Jdubs
Posts: 73
Joined: Fri Dec 19, 2014

20 May 2015

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

Jdubs
Posts: 73
Joined: Fri Dec 19, 2014

20 May 2015

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 :(

Jdubs
Posts: 73
Joined: Fri Dec 19, 2014

20 May 2015

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.)

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

22 May 2015

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?

Jdubs
Posts: 73
Joined: Fri Dec 19, 2014

22 May 2015

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.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests