Change Enter a Valid Date error

  • Profile Image
    Asked on December 31, 2012 at 10:25 AM

    Hallo, ik wil in mijn formulier de warning text van het datum veld aanpassen (vertalen in Nederlands). Deze melding zie ik niet in de lijst van warning fields staan die aangepast kunnen worden (bij geavanceerde instellingen). Hoe kan ik dan deze melding aanpassen?


    ik hoor het graag!


    Hartelijke groet,


    Jojanneke Beekman

  • Profile Image
    Answered on December 31, 2012 at 10:28 AM

    See this guide for editting 'form warnings'

    You can still change them from the form source code. Use the full source code.

    Here is how you can get full form source code. Open your form on the Form Builder:

    1. Open "Setup & Share" tab on toolbar,

    2. Click on "Embed Code"

    3. Click on "Source" button and copy it to your web site.

  • Profile Image
    Answered on December 31, 2012 at 10:51 AM


    If you have replied to this forum thread, kindly do it again using this link as your response failed to display here.


  • Profile Image
    Answered on December 31, 2012 at 11:05 AM

    Thanx, but I've already found this guide. My problem is that this specific warning (! Enter a valid date) is not listed in this "edit warnings" page.  Or at least: I don't see it.

    If I want to embed the code, I don't see the full source code, but a link to the script. So I don't see how I can make changes there. Can I access the full source code?

    Or is there another way to change this warning text?

  • Profile Image
    Answered on January 01, 2013 at 12:16 AM


    My apologies for the messy and unexpected post earlier, it's now deleted.


    With regards to the "! Enter a valid date" error, may we know what type of field it appears? I have tried using date/time tool and birthdate picker tool and no such error appears when entering invalid dates.

    We would appreciate if you could share a little information on how to reproduce the said error. Thanks!

    P.S. Here's a guide on How to get your Form Source Code

  • Profile Image
    Answered on January 01, 2013 at 11:24 AM

    That's OK ;-)


    I've used a date/time tool, without showing the time option, and in ddmmyy style.

    This is a printscreen showing the warning:

  • Profile Image
    Answered on January 01, 2013 at 02:06 PM

    You screenshot have not been uploaded but I think this is what you mean;




  • Profile Image
    Answered on January 01, 2013 at 08:36 PM


    By the way, the error you've mentioned is on jotform.js file, you can find it inside js folder when you download your form's full source code. After that, open jotform.js to any text/html editing tools you have like notepad++. Then head on line 1037, you can find the date validation error message there. Or you can search the word "Enter a valid date" that should give you one result. After that, change the error warning, save your js file and upload it back to your host. That's it!

    Cheers! =)

  • Profile Image
    Answered on January 02, 2013 at 04:28 PM



    I've read that the edited source code/jotform.js cannot be uploaded back to the server of JotForm (that makes sense..)

    Right now I use the form embedded in my website, using the script link (<script type="text/javascript" src="//"></script>)

    If I want to use the edited Form (jotform.js), how do I do that? What do I have to upload to my host and will the above mentioned link still work if I do that? Or will that still link to the original jotform.js?

    I guess I could copy-paste the full source code in my website's html-code, but that's not my preferred method..


  • Profile Image
    Answered on January 02, 2013 at 05:22 PM


    Hi, if you use the embeded form(<script type="text/javascript" src="//"></script>),  -- it will use the js codes from JotForm server side.

    If you want to make use of the edited js files, you will have to download the full source code of the form, including the js files and have them all hosted on your server.

    Mix matching the embedded form and using a modified JS code on your end will not work. Because the embededded form will not point to your server side.

    Hope this help. Please inform us if you have further inquiry.