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

    Change Enter a Valid Date error

    Asked by Jojanneke 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 by gori-mathew on December 31, 2012 at 10:28 AM

    See this guide for editting 'form warnings'

    http://www.jotform.com/help/61-How-to-Change-Translate-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
    JotForm Support

    Answered by NeilVicente on December 31, 2012 at 10:51 AM

    @Jojanneke

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

    Thanks!

  • Profile Image

    Answered by Jojanneke 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
    JotForm Support

    Answered by idarktech on January 01, 2013 at 12:16 AM

    @Jojanneke

    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 by guest_23643777048058 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
    JotForm Support

    Answered by Welvin on January 01, 2013 at 02:06 PM

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

     

     

    Thanks

  • Profile Image
    JotForm Support

    Answered by idarktech on January 01, 2013 at 08:36 PM

    @Jojanneke

    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 by Jojanneke on January 02, 2013 at 04:28 PM

    @idarktech

    Thanks!

    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="//form.jotformeu.com/jsform/23643957061356"></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
    JotForm Support

    Answered by jonathan on January 02, 2013 at 05:22 PM

    @Jojanneke

    Hi, if you use the embeded form(<script type="text/javascript" src="//form.jotformeu.com/jsform/23643957061356"></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.

    Thanks.