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

    How to use a URL Parameter within a Text Area?

    Asked by VVR7136 on March 16, 2016 at 05:02 PM

    I am trying to create a form and have url parameters passed to the form and have them populate fields on the form.

     

    I have that portion working.  Now I need some of the URL Parameters that are passed to be used within a text area.

     

    Example:

    URL Parameters that are passed:

     

    &divisionName=MID

    &divisionPSCDL14=https://mwdv.portal.city.net/index.jsp

    &divisionPSPhone=1-866-555-1212

     

    Text Area will have this block of Text and I need to use there URL Parameters within the text.

     

    Secondary email address must be for a secondary provider who has the right to see data for ALL patients associated with the physician. Additionally, the email address must not be a group email address or a personal email address. The physician represents that the listed secondary provider requires access to the emails to perform his or her job. It is the responsibility of the physician to notify HCA within 24 hours or the next business day, when the person receiving secondary email no longer  requires access, by contacting the {divisionName} Division Physician Support Coordinators at {divisionpscdl14} or if you prefer, you may reach the Provider Hotline by phone at {divisionPSPhone}. 

     

    When I call the form with the parameters the Text Area does not update the Text area with what was passed by the URL.

     

    Screenshot attached.

    Page URL:
    http://form.jotform.us/form/60747418184158??emailVerification4=1052035<br/>0-a7ac-4caf-921f-67179591f298&amp;email=john.doe@testing.com&amp;prima<br/>ryCare=Doctor%20MD

    Screenshot
    how to use how use a
  • Profile Image
    JotForm Support

    Answered by david on March 16, 2016 at 06:39 PM

    It is not possible to pass URL parameters to text fields in this manner.  You would need to use a Text Area field, and conditional field update to allow for this. 

    http://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    Basically, you would have the URL populate text boxes with the variable text, then use a Text Area field to display the text.  Since regular text fields to not work in conditions, the will not work for this set up.

    Here is a quick test clone of your form pre-filled in the URL with a block of variable text:

    http://form.jotform.us/form/60756742212958??divisionpscdl14=this%20is%20the%20added%20text%20from%20the%20URL

    You can clone the form to your own account if you would like to see the full set up:

    http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL