Forms warnings don't work

  • Profile Image
    Vinz16
    Asked on February 08, 2012 at 03:21 PM

    Hello,

     

    Thanks for this awesome generator, but the verification of the fields doesn't work ... I mean that I can put what I want in every field, verification doesn't work (I can put number in the name form for exemple) or I can put negatives numbers where I asked it not to allowed them.

     

    Thanks for support

    regards 

  • Profile Image
    Vinz16
    Answered on February 08, 2012 at 04:14 PM

    up ! 

  • Profile Image
    fxr
    Answered on February 08, 2012 at 04:55 PM

    It looks like the javascript on your webpage is conflicting with JotForm code.

    Please try embedding the form with the IFrame embed method which is detailed here, option 4.

     

    Let us know how you get on with that. 

     


  • Profile Image
    Vinz16
    Answered on February 08, 2012 at 09:55 PM

    I used the Iframe as you said me but ...

    Now it seems to work with email, but if fields are empty, it sends the email. 

    And I always have the problem with negatives numbers, could that be an error with HMTL5 or something else ?

     

    Thanks.

  • Profile Image
    fxr
    Answered on February 09, 2012 at 03:38 AM

    Ok, I have worked out what is happening here. 

    There is a 'special character' in your 'hint' field for the email address. 

    Can you "escape" the character ' by putting a \ in front of it: 

    The \ will not be shown when the form is rendered on your webpage

    That should fix up the issues with your numbers as well.

     

    You should stick with the IFrame embed as the scripts on your webpage were also causing an issue with the validation. 

     

    Let us know if you are still having any further problems after making that change.  

  • Profile Image
    Vinz16
    Answered on February 09, 2012 at 07:51 AM

    Hello,

    Nice, it works now ! I didn't expect that to cause an issue ...

    Thanks for your support .