Copied to clipboard

Flag this post as spam?

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


  • Dan Evans 616 posts 988 karma points
    Sep 19, 2014 @ 13:58
    Dan Evans
    0

    Generate pre-value dates

    Hi

    I was wondering if anyone has a suggestion on the best and easiest way to generate a set of pre-values for a drop down list in Contour which list every coming Monday and Wednesday for the next 6 months. e.g.

    Monday 1st October

    Wednesday 3rd October

    Monday 8th October

    etc...

     

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Sep 22, 2014 @ 18:29
    Ismail Mayat
    0

    Dan,

    Create your own fieldtype and in the class get todays date and from get all the coming Mondays and Wednesdays.  Take a look at contour documentation on how to create your own field type also for help with dates etc use something like noda time http://nodatime.org/

    Regards

    Ismail

  • 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