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.
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!
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.
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!
</asp:RangeValidator>
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!
/Josh
is working on a reply...