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

    Custom JavaScript and HTML is causing fields to jumble on submit

    Asked by Mike H  on March 12, 2014 at 09:35 AM

    I downloaded the source code form the website and customized the matrixes to have both text box inputs as well as drop downs. Also added some script to lock the form unless a correct password is entered (because the conditions I set to do this in the form editor did not work after editing the source code).

     

    The form works as desired but after running a few tests I realized that the data is mixed up, meaning it does not match the feild it was entered into when veiwing submissions.

     

    Any idea why this would be occuring or how to fix it? I suspect it has something to do with editing of the matrix fields.

     

    Thnx,

    MH

    Screenshot
    custom javascript and Submissions source code form source mixed
  • Profile Image
    JotForm Support

    Answered by abajan on March 12, 2014 at 11:13 AM

    Hi Mike,

    Could you please share the URL of the web page within which the form's source is embedded? Alternatively, if it's not uploaded in any site as yet, please either post the code here or create a paste and post just the link to the paste.

    After we see the code we'll see how best we can fix the issue for you.


    Thanks

  • Profile Image

    Answered by Mik H  on March 12, 2014 at 01:03 PM

    Form

    Enter Password:
    Back
    Next
    Temporary Staffing Agency Workers (MPL2)
    Media Type: Power Point with Pre-recorded Audio
    Date of Training:
    - Month - Day at Year / Hour Minutes AM PM     Pick a Date    
    Name of Trainer:

    As Trainer, I attest that the employees listed below have attended & received the food safety & food quality training in the module / session indicated above, and that an alternative language was provided when needed. I further attest that attendance was verified by Trainer with visual check of ID badge for the date & time indicated above and all employees who received training have a clear understanding of good manufacturing practices.

    1
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    2
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    3
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    4
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    5
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    6
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    7
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    8
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    9
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    10
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    11
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    12
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    13
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    14
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    15
    Employment Plus Impact Randstad Staffing Staffline Work Force Network Yes No Late or Tardy Distracted/Sleeping Record of name issue
    Submit Form
    Should be Empty:
  • Profile Image
    JotForm Support

    Answered by TitusN on March 12, 2014 at 03:58 PM

    Hello,

    Thank you for your response.

    I took a second look at the screenshot and realized that you are running the form from your computer.

    We would like to take a look at the source-code of what you have done so far - here's a good place to share your code

    We'll await your response.

    Thank you for your patience.