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

    Upload files in shopping cart using a jotform while associating the files to the order

    Asked by CDICORP on February 12, 2015 at 10:27 AM

    I am trying to figure out a way I can include a jotform in my shopping cart that would allow my customers the ability to add the files associated with their order.

     

    We use Netsuite as our website engine.

     

    I know I can just add the embed code into my shopping cart page, but I'm trying to figure out a way the files can be associated with the order without the customer having to re-enter a bunch of contact information again.

     

    Is there any way I can pull in the PO# or customer name into the jotform so when they upload the files I know which order the files are for? 

     

    Attached is the from we use now which shows up after they checkout.

     

     

    Page URL:
    http://www.birdies2eagles.com/Upload-Artwork.html

    JotForm name engine attached
  • Profile Image
    JotForm Support

    Answered by Charlie on February 12, 2015 at 01:37 PM

    Hi,

    I see that you already have a full system designed for a shopping cart. For the form, I believe you could just try passing values to the form via URL parameters.

    Here are the possible guides that you can refer to:

    From your list of products, you can then just pass the information from the product variable directly to the form's URL, so when do they a checkout the information is already prefilled:

    http://www.jotform.com/help/71-Prepopulating-fields-to-your-JotForm-via-URL-parameters 

    If your website is built with PHP and Javascript, you can follow the guides below to pass information directly to your form:

    http://www.jotform.com/help/237-PHP-Forms-Explained 

    http://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page 

    http://www.jotform.com/help/245-How-to-Setup-Webhook-with-JotForm 

     

    You could also try checking this guide: http://www.jotform.com/help/126-How-to-send-Submissions-to-Your-MySQL-Database-Using-PHP. It's a guide on how to pass the values directly to your MySQL database, I believe if you are uploading files this would be helpful and would be easy to append additional values or characters to the file name to give distinctions like PO# or Unique IDs.

    I hope that helps.

    Thank you.