Generate a link with a value from the form field submission

  • eridamega12
    Asked on November 26, 2014 at 11:59 AM

    How do I get the text entered in (Numero de guia) part of this link? the link is to email autoresponders

    <p><a href="http://www.enviacolvanes.com.co/Contenido.aspx?rastreo=XXXXXXXXX" target="_blank">Find</a></p>xxxxxx

    can be any number or text, I tried this in html does not work :(

    <p><a href="http://www.enviacolvanes.com.co/Contenido.aspx?rastreo={numeroDe}" target="_blank">Find</a></p>
     

    Thanks

    Jotform Thread 465304 Screenshot
  • eridamega12
    Replied on November 26, 2014 at 12:15 PM

    The link does not show as I write <     a href="http://www.enviacolvanes.com.co/Contenido.aspx?rastreo=101000640555" target="_blank">Find</a    >

  • Welvin Support Team Lead
    Replied on November 26, 2014 at 1:39 PM

    Hi,

    You can put it as:

    http://www.enviacolvanes.com.co/Contenido.aspx?rastreo={numeroDe}

    ..without the HTML tags and that should work. For example:

    Generate a link with a value from the form field submission Image 1 Screenshot 20+

    Thank you!

  • eridamega12
    Replied on November 26, 2014 at 4:48 PM

    Thank you.

    But every choice has a different link.

    Only show the link of the selected option, not the 4 link in the mail

    Option1 http://www.enviacolvanes.com.co/Contenido.aspx?rastreo=XXXXXXXXX

    Option2 http://www3.interrapidisimo.com/PortalConsulta/Vista/ExploradorGuias/ConsultaGuiaConMen.aspx?tbxNumeroGuia=XXXXXXXXXX&btnguiab=Buscar

    Option3 http://www.servientrega.com/RastreoContado/RastreoContado2.faces?idGuia=XXXXXXXXX&idPais=1

    Option4 http://www.deprisa.com//Tracking/index/?track=XXXXXXXXXX

    Help Please XXXXXX = Numero de guia

  • Ben
    Replied on November 26, 2014 at 5:59 PM

    Hi,

    OK, this is a bit more complex, but possible with jotform.

    There are actually 2 ways to do it.

    1st way

    1. Create 4 email autoresponders each with different link
    2. Set the conditions to select which email will be sent during the submission based on the four fields

    Required guides:

    Creating a Form Autoresponder

    How to send to a specific email address based on a selection?

    * Very easy to set up - about 10 minutes tops

    - Comes down to repetition of the steps given by my colleague Welvin above 4 times and a bit of conditional checks.

    - If you want to change the autoresponder you would need to do it 4 times. For example if you were to add a logo, you would need to repeat the same steps 4 times (matching the number of email templates you have).

    2nd way

    1. Add one hidden field that will hold the link to go to (the entire link)
    2. set the conditions to update this field based on the users selection
    3. add the tag of this field on your thank you message and email autoresponders (where you want) to show it to your users.

    Required guides:

    Creating a Form Autoresponder

    How to Insert Text or Mathematical Caculation into a field using a Condition

    - Very easy, but requires a bit more steps to configure - about 15-20 minutes.

    - The change in the email autoresponder is the same for all links (for example if you would add your logo, you would do it only once).

    Both have their better sides, it is up to you to decide which one would work the best for you :)

    Do let us know what you have decided and how it goes for you. If you have any further questions or need assistance feel free to let us know :)

    Best Regards,
    Ben

  • eridamega12
    Replied on November 27, 2014 at 10:39 PM

    done the second way, thank you very much