Required fields are not working anymore

  • Profile Image
    TJCApaches
    Asked on October 23, 2012 at 11:48 AM

    On this form, we have a few required fields, but the warnings do not come up if you go to the next page or submit the form if you leave those fields blank, so we can submit blank forms. I believe it has something to do with if you have page breaks (with the next and previous buttons) because another form that we have at http://www.tjc.edu/info/2004239/trio_program/245/trio_application doesn't catch empty required fields either.

    We've embedded our code using the embed code (JS), and I've tried both form.jotformpro.com and www.jotformpro.com as the source (both links currently use form.jotformpro.com). I've tried going back on the form and taking off the required option and adding it back on as well. Other forms that we have hosted will show the warnings.

    Thank you for your help!

  • Profile Image
    jeanettebmz
    Answered on October 23, 2012 at 12:38 PM

    Hi

    That issue has to do with your DOCTYPE  declaration a the beggining of the webpage, which is only  <!DOCTYPE HTML> As shown below:

     

     

    Please replace it with the following one:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


    If the problem persist, or you don't want to change your Doctype declaration, please embed your form using the iFrame method, as the page has other js libraries that might be in conflict with the form's code .

    Let us know if you still need assistance

  • Profile Image
    TJCApaches
    Answered on October 23, 2012 at 05:17 PM

    Thanks so much!