Copied to clipboard

Flag this post as spam?

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


  • dandrayne 1138 posts 2262 karma points
    Jan 12, 2010 @ 15:52
    dandrayne
    0

    Datepicker field in contour

    Hello

    In our recent contour install, the datepicker behaves in a way I didn't expect.

    In the form preview, the datepicker field gets rendered as an input field that when clicked opens a js datepicker. Selecting the date then fills the input field with the selected date.  This is pretty standard stuff, and what I would have expected from a datepicker.

    However, when the form is published and placed on a page via the wysiwyg, the page gets rendered with the datepicker simply placed as a table within the form.

    In a nutshell, I'm getting this inline calendar instead of this ajaxified calendar

    • Is there a way to use the datepicker as per the preview?
    • Is this perhaps a simple configuration issue on my part?

    Cheers,
    Dan

    ps. it's umb 4.0.2.1 and the contour version from http://umbraco.org/pro-downloads/UmbracoContour.zip downloaded yesterday.

  • Comment author was deleted

    Jan 12, 2010 @ 17:27

    Hi Dan,

    If you want to have the inline calendar you need to add a runat="server" attribute to your head tag.

    Cheers,
    Tim

  • dandrayne 1138 posts 2262 karma points
    Jan 12, 2010 @ 17:53
    dandrayne
    0

    Perfect, cheers Tim

Please Sign in or register to post replies

Write your reply to:

Draft