Copied to clipboard

Flag this post as spam?

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


  • Giovanni Sidoel 94 posts 233 karma points
    Nov 05, 2014 @ 19:29
    Giovanni Sidoel
    0

    Datepicker defaultvalue

    Hey fella's,

    I'm using Contour 3.0.10. I've noticed the datepicker fieldType doesn't have a defaultValue setting in the back-end.

    I've created workflow which stores cookies. They use a lot of repetitive forms on this site, so with the bracket syntax in the defaultValue setting I am able to prepopulate most of the fields with the stored cookies. Except the datepicker doesn't have this defaultValue setting.

    I would like to know if ther is such a defaultValue setting for datepicker in a newer version or if I would have to:

    1. write my own fieldType or
    2. tweak the fieldType.DatePicker.cshtml to just get cookies regardless of the presence of defaultValue setting
    I'm just looking for the road of least resistance here. So If this issue is fixed in anouther release, i'll upgrade, if not I will do the second option listed. The first option I would like to avoid altogether.

Please Sign in or register to post replies

Write your reply to:

Draft