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 629 posts 1016 karma points
    May 02, 2013 @ 11:41
    Dan Evans

    Number of Days does not accept certain numbers

    I've installed this on Umbraco 6.0.3 and it works fine except the "number of days" option only accepts numbers starting in 1, 2 or 3 so 7,45 etc are rejected even if they are less than 365.

  • Dan Evans 629 posts 1016 karma points
    May 02, 2013 @ 11:46
    Dan Evans

    The fix is to update the RangeValidator so that Type="integer"

    <asp:RangeValidator Type="integer" ControlToValidate="ChooseDays" MinimumValue="1" MaximumValue="365"

     EnableClientScript="true" runat="server" Display="Dynamic">

    Must be between 1 and 365!


  • Josh Townson 67 posts 162 karma points
    May 02, 2013 @ 22:50
    Josh Townson

    Hi Dan,

    glad to see you found and posted the fix. I had forgotten I added this to our. I will try and remember to upload the fixed package tomorrow! I think I changed it about 18 months ago. oops. Then again, there were some issues with this and umbraco 4.7 which I never investigated. It seemed that some sessions were not showing in the table - which rendered the simple solution rather powerless :( Do be careful of this running in version 6 - I haven't even managed to get a site together in v6 yet!


Please Sign in or register to post replies

Write your reply to: