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

    Several problems with form- Wrong DOCTYPE declaration

    Asked by Prudence on October 12, 2012 at 01:32 PM

    Hi, I use a form in order for salesmen to submit their sales to the operations division of the company.  There appear to be issues (still) with this form:

     

    1) Pressing "Enter" on any field submits the form, despite the form being long with many required fields.

    2) The attachments sometimes don't come through when the form is submitted, although they were attached by the person filling out the form.

    3) "Re" lines show up with
    between fields I wanted.  For example: RE: Sales Close Best Western CobleskillEquipment
    Installation (On-site)
    Monitoring
    24/7 Guest Support
    Portal Page

    Please help me figure this out.  My users are getting frustrated.

     

    Thanks!

    Page URL:
    http://hotelwifi.com/salesclose/

  • Profile Image
    JotForm Support

    Answered by NeilVicente on October 12, 2012 at 01:51 PM

    Hello,

    Your site's current doctype,

    <!DOCTYPE HTML>

    prevents the scripts from functioning normally, thereby causing problems 1 and 2.

    These can be easily solved by changing the webpage's doctype to the one found on this link:
    http://pastie.org/5045575

    Moving on, may I ask you how to recreate problem #3? Do you get this problem with the email notification?

  • Profile Image

    Answered by Prudence on October 12, 2012 at 02:17 PM

    Thanks.  Can you tell me what it should be?  I clicked the link you gave me, however it doesn't appear to show any doc types.  

     

    On the #3 yes it is on the email notificaitons.

  • Profile Image

    Answered by jeanettebmz on October 12, 2012 at 02:19 PM

    You can find the doc type declartion into the source code of your page. Ussually any browser has the ability to show you the source code

  • Profile Image
    JotForm Support

    Answered by NeilVicente on October 12, 2012 at 02:28 PM

    @Prudence

    The doctype codes on the link I provided is as follows:

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

    Jeanette is correct, you can find your current doctype on your page's source code. Replace it with what I suggested above.

    Thanks!