What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Links in email not working properly..

    Asked by SalonFusion on August 23, 2013 at 11:44 PM

    Hello!

    I created a "Time off request" form for a client of mine. The client wanted the ability to use hidden forms to allow to approve or deny the requests. I have set that up by allowing the employee submitting the form to receive a notification email upon completion, as well as the administrator or "manager." The manager then will utilize an email template to edit the submission, and change the hidden form from "Pending" to "Approved or Denied."

     

    Only issue, is that when I create a link for the "Edit Submission" page, and create a link to "View in PDF," the links break. Why is that?

     

    I had it working before, but after being forced to redesign the email template, the links then broke.. What am I doing wrong?

     

    Page URL:
    http://form.jotform.us/form/32349397351157

    Screenshot
    email email not working template hidden pending
  • Profile Image
    JotForm Support

    Answered by liyam on August 24, 2013 at 12:27 PM

    Based from the screenshot, you have hardcoded the submission ID as well.  Please take note that every submission, each has a corresponding unique submission ID.  This means, you'll need to replace this part
         &sid=23124436261877570&mode=edit

    to
         &sid={id}&mode=edit

    Also, I noticed that you changed the edit link to /{edit_link}.  This won't work because the template variable generates its own clickable link.

    If you have other questions or concerns, please do let us know.

    Thanks.

  • Profile Image

    Answered by SalonFusion on August 24, 2013 at 01:23 PM

    I used the "Insert/Edit Link" function to add the code, and copied the {edit_link} shortcode. I did not hard code any of it, and when I do hard code it, it changes back

  • Profile Image

    Answered by SalonFusion on August 24, 2013 at 01:25 PM

    Also, when i used the "View as PDF" shortcode, it does not generate a link.. See attached Screenshot

  • Profile Image
    JotForm Support

    Answered by Welvin on August 24, 2013 at 06:42 PM

    Hi,

    I've check your form and it has been deleted. Can you please let us know the new form so we can check?

    You should be able to correct this if you will use just the "tags" such as {edit_link} and {pdf-link}. Anyway, you can use the below URL if you want it to be hyperlink to a text:

    http://submit.jotform.us/form.php?formID=FORM ID HERE&sid={id}&mode=edit

    http://submit.jotform.us/server.php?action=getSubmissionPDF&sid={id}&formID=FORM ID HERE

    Change FORM ID HERE with your actual Form ID Numbers.

     

    Thanks