Copied to clipboard

Flag this post as spam?

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


  • Marius 22 posts 42 karma points
    Jan 14, 2010 @ 09:58
    Marius
    0

    doc2form and datepicker field

    Hi,

    I getting to doc2form, and really like its simplicity. Good work. Now I've got one question regarding this package.

    I have a one field in my form document with DatePicker type. When transformed to form on site, this field apears exactly the same

    as in umbraco backend, only calendar button isn't working, also "Clear date" apears but don't work.

    Question is : how to correct this? Need to make another data type or... include some .js or any other way?

    Marko

  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    Jan 18, 2010 @ 17:37
    Casey Neehouse
    0

    I have used the datepicker in the past with no issue.

    A couple things to check:

    Make sure the property alias does not have any funky characters or spaces.

    try adding runat="server" to the head tag (<head runat="server">), as the control may be trying to inject scripts there.

    You can make your own data types with other calendar options.  It would be cleaner that way.

  • Marius 22 posts 42 karma points
    Jan 19, 2010 @ 09:10
    Marius
    0

    Thanks, Casey,

    <head runat="server"> doesn't help, also for some properties this way corrupts as metaDescriptions etc.

    Anyway, will try to make own data type.

     

Please Sign in or register to post replies

Write your reply to:

Draft