Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • John C Scott 457 posts 1157 karma points
    Jan 15, 2015 @ 16:01
    John C Scott
    0

    datepicker throwing "is not valid" error on entry

    On an Umbraco 4.11 site with Contour (package version says 1.1.10) we have a date field. when any date is chosen we get the error "[field name] is not valid". You can see the error and the Contour settings in the image attached.

    Any ideas why this would happen and how we can stop this?

     

     

     

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Jan 15, 2015 @ 16:12
    Jan Skovgaard
    0

    Hi John

    What would the default date format look like in your language? Is it dd/MM/YYYY or is it something else? I think you perhaps need to dig into the Contour source code and add some data-configuration where the jquery ui datepicker is being called.

    Also...is the execution order of the javascripts set correctly? I remember that Contour by default calls them in the section rather than in before

    /Jan

  • John C Scott 457 posts 1157 karma points
    Jan 16, 2015 @ 10:30
    John C Scott
    0

    Thanks Jan been having a look. However I saw some references in other threads to issues where the field was not originally of date type and changed to date type. I asked the user if this is what she'd done and yes! So she deleted the field and added a new one and it worked.

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Jan 16, 2015 @ 10:33
    Jan Skovgaard
    0

    Hi John

    Ok, good to hear you managed to figure out what was wrong :) I just remember I had to deal with issues regarding date formats etc. when using Contour on danish sites a year ago or so.

    /Jan

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies