How do I include the prepopulated form link in the popup modal?

  • DPCREATE
    Asked on March 9, 2017 at 11:36 AM
    I wish to include the form on a pop up modal how would I pass the paramaters to that window?
  • Kiran Support Team Lead
    Replied on March 9, 2017 at 11:37 AM

    Since you wanted to use the Popup modal, you may consider changing the form URL in the embed script with the prepopulated URL. Please see the screenshot below:

    How do I include the prepopulated form link in the popup modal? Image 1 Screenshot 20

    Hope this information helps! 

  • DPCREATE
    Replied on March 9, 2017 at 11:41 AM

    Hi

    The url parameters  are dynamically changing with hidden fields what would i need to do for that?

     

     

  • Kiran Support Team Lead
    Replied on March 9, 2017 at 12:48 PM

    Though the fields are hidden, the URL can have the parameters filled and it can be embedded on the web page without any issue. If you can let us know the web page URL where the form will be embedded and from where the parameters will be changed so that we may be able to assist you further.

    Thanks!

  • DPCREATE
    Replied on March 12, 2017 at 6:46 AM

     

    hi The site where they are coming from is in development still and not reachable online.  h

    The page that sends the url and hidden parameters is sending this

    https://form.jotformpro.com/70583175945970?date=23rd+July+2017&chooseActivity=Courses&coursename=INTRODUCTION+TO+WW+CANOEING&cost=75.00

     

    Thanks

    Also Is there a way to send the cost parameter without using the url as this is insecure and can be changed?

     

    Thanks

  • Chriistian Jotform Support
    Replied on March 12, 2017 at 9:52 AM

    The site where they are coming from is in development still and not reachable online.

    - How about the page where the form is embedded? If the parameters need to be dynamic and you are embedding the form to your own page, I think you need to do some coding to manipulate the URL parameters and make the following changes.

    1. I am assuming that the page that is sending the URL with parameters is a JotForm form. If so, you can send the data via POST method to your destination page by following this guide. Send Submission Data via Post Method and Thank You Settings

    2. You have to programmatically (via PHP code) catch those POST data in your page and concatenate them to the embed URL of your form to finally generate a link similar to

    https://form.jotformpro.com/70583175945970?date=23rd+July+2017&chooseActivity=Courses&coursename=INTRODUCTION+TO+WW+CANOEING&cost=75.00

     

    Also Is there a way to send the cost parameter without using the url as this is insecure and can be changed?

    - the only way to send a parameter without using the URL is by sending it as POST data. Please see the link I have provided above about sending data via POST method.

     

    Regards.

  • DPCREATE
    Replied on March 16, 2017 at 11:20 AM

    Hi

    Thanks for the info,

    I'm not sure that is in the correct direction

    The form on the sending page is a none jotform going to a jotform form. https://form.jotformpro.com/70583175945970

    in effect i need the jot form to accept post values and repopulate the jotform.

     

    I would rather send the data to the jotform via post rather than insecure url parameters. then use these value to perform calculation on the form.

     

    Thanks

  • Kiran Support Team Lead
    Replied on March 16, 2017 at 12:45 PM

    Since you say that the data will be sent from a different page which is not JotForm, you may pass the information to the JotForm by generating the prepopulated URL which can be done programmatically as mentioned by our colleague. If you are not a programmer, you may hire a programmer from Upwork or Freelancer to achieve your requirement.

    Thank you!