Adding a hyperlink URL in thank you messages adds an additional "/" in start of URL.

  • boidy
    Asked on January 26, 2015 at 6:51 PM

    Hi i think magic quotes are messing with the links on the thank you page editor, any link i make or edit form link i add has an extra slash at the front of it?

    please help?

  • Ashwin JotForm Support
    Replied on January 26, 2015 at 10:17 PM

    Hello boidy,

    I am not sure if I have understood your question correctly. Do you mean to say that when you add a hyperlink in your form's thank you message, extra slash is added?

    I am unable to replicate the issue you are having. I added an URL in the thank you page and it seems to work as expected. Please check the screenshot below:

    Adding a hyperlink URL in thank you messages adds an additional / in start of URL Screenshot 20

     

    Please share the URL you are trying to add in your thank you message and we will take a look or try to replicate the issue.

    We will wait for your response.

    Thank you!

  • boidy
    Replied on February 3, 2015 at 10:24 AM

    Hi when i add in the "Thank you" page a link to edit the form {edit_link} but use the text: CLICK HERE using {edit_link} as the url it add it like this /{edit_link} making the link unuseable? am i doing something wrong

  • boidy
    Replied on February 3, 2015 at 11:56 AM

    Hi when i add in the "Thank you" page a link to edit the form {edit_link} but use the text: CLICK HERE using {edit_link} as the url it add it like this /{edit_link} making the link unuseable? am i doing something wrong

  • Ashwin JotForm Support
    Replied on February 3, 2015 at 1:22 PM

    Hello boidy,

    What you are trying to do is not possible. Please be noted that {edit_link} is not an URL so when you add it in "Link URL" it automatically adds the "/" before that. The output of {edit_link} is actually an URL with clickable link text as "Edit Submission".

    If you want to display "CLICK HERE" instead of "Edit Submission", you will have to construct your own edit link URL of your submission. The edit link can be constructed as mentioned below:

    http://submit.jotformpro.com/form.php?formID=YOUR_FORM_ID&sid=SUBMISSION_ID&mode=edit

    YOUR_FORM_ID should be the ID of your form. This will be static text. In your case the value should be 50245849588974.

    SUBMISSION_ID should be the submission id and you should add the following value :  {id}

    Your final edit link URL should be :  http://submit.jotformpro.com/form.php?formID=50245849588974&sid={id}&mode=edit

    Please check the screenshot below on how you should add this in your form's thank you message: 

    Adding a hyperlink URL in thank you messages adds an additional / in start of URL Screenshot 20

     

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • boidy
    Replied on February 3, 2015 at 8:59 PM

    Didn't think of that workaround,  thanks works fine :)

  • Ashwin JotForm Support
    Replied on February 3, 2015 at 10:48 PM

    Hello boidy,

    You are welcome.

    I'm very pleased that I was able to help you.

    Do get back to us if you have any questions.

    Thank you!