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

    Add a control when i sumbit a form.

    Asked by Walter Galli on July 23, 2013 at 06:30 AM

    Hi,

    i need to add two control when i sumbit a form

    1)  I need to change the validation about CF field form required/alfanumeric to required and verified by a custrom reg exp (“[a-zA-Z]{6}[0-9]{2}[a-zA-Z][0-9]{2}[a-zA-Z][0-9]{3}[a-zA-Z]“)

     

    2) i need to control for example which mix  is allowed

        Area Opzione 3  Manage opzione 1  Job Role Opzione 2  ALLOWED

        Area Opzione 3  Manage opzione 1  Job Role Opzione 3  NOT ALLOWED

       Can i add javascript code when i sumbit a form ?
    Thank you very much!
    Walter
    Page URL:
    http://form.jotformeu.com/form/32031169178351

    Screenshot
    style div 3
  • Profile Image

    Answered by Walter on July 23, 2013 at 08:29 AM

    I asnwer my self.

    I found in JotForm support.

    Use the onsubmit option in <form ......> and i execute all javascript code needed.

  • Profile Image

    Answered by gori-mathew on July 23, 2013 at 08:51 AM

    Thats great to know, do feel free to let us know wherever you need our assistance.

    Thanks!