Form Redirection not working

rss

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?

  • Jdubs
    Member
    Member for: 4 years 7 months 30 days
    #1 by Jdubs May 19 ’15 at 04:12

    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 Kozlov
    Dmitry Kozlov
    Admin
    Member for: 5 years 10 months 28 days
    #2 by Dmitry Kozlov May 20 ’15 at 05:10

    [#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

  • Jdubs
    Member
    Member for: 4 years 7 months 30 days
    #3 by Jdubs May 20 ’15 at 08:24

    [#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
  • Jdubs
    Member
    Member for: 4 years 7 months 30 days
    #4 by Jdubs May 20 ’15 at 09:04

    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
    Member
    Member for: 4 years 7 months 30 days
    #5 by Jdubs May 20 ’15 at 09:18

    [#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 Kozlov
    Dmitry Kozlov
    Admin
    Member for: 5 years 10 months 28 days
    #6 by Dmitry Kozlov May 22 ’15 at 03:12

    [#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?

  • Jdubs
    Member
    Member for: 4 years 7 months 30 days
    #7 by Jdubs May 22 ’15 at 07:19

    [#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.

Displaying 1 to 7 of 7 messages