Add a control when i sumbit a form.

  • Profile Image
    Walter Galli
    Asked 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
  • Profile Image
    Walter
    Answered 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
    gori-mathew
    Answered 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!