Is it possible to limit inputs on the Calendar Widget

Is it possible to limit inputs on the Calendar Widget

  

Hi,

Is it possible to limit what days a user can select when using the input Calendar Widget??

For Example, can I have it so they can only select weekdays (have weekends grayed out and unselectable).

Or do I have to use validation to ensure they haven't selected a weekend?

Thanks

Peter

Peter Travers wrote:

Hi,

Is it possible to limit what days a user can select when using the input Calendar Widget??

For Example, can I have it so they can only select weekdays (have weekends grayed out and unselectable).

Or do I have to use validation to ensure they haven't selected a weekend?

Thanks

Peter

I'm pretty sure you have to validate inputed dates for that intent. 

The only option you have, in the widget provided by RichWidets is to define the max/min year. You can also have some dates to be displayed differently (SpecialDays), as a way to indicate valid/invalid dates :) 

Cheers


José Lopes wrote:

Peter Travers wrote:

Hi,

Is it possible to limit what days a user can select when using the input Calendar Widget??

For Example, can I have it so they can only select weekdays (have weekends grayed out and unselectable).

Or do I have to use validation to ensure they haven't selected a weekend?

Thanks

Peter

I'm pretty sure you have to validate inputed dates for that intent. 

The only option you have, in the widget provided by RichWidets is to define the max/min year. You can also have some dates to be displayed differently (SpecialDays), as a way to indicate valid/invalid dates :) 

Cheers


Thanks for the reply, will have a look into validation checks.

What do you mean by having dates displayed differently (SpecialDays)??  

Thanks

Peter


Peter Travers wrote:

José Lopes wrote:

Peter Travers wrote:

Hi,

Is it possible to limit what days a user can select when using the input Calendar Widget??

For Example, can I have it so they can only select weekdays (have weekends grayed out and unselectable).

Or do I have to use validation to ensure they haven't selected a weekend?

Thanks

Peter

I'm pretty sure you have to validate inputed dates for that intent. 

The only option you have, in the widget provided by RichWidets is to define the max/min year. You can also have some dates to be displayed differently (SpecialDays), as a way to indicate valid/invalid dates :) 

Cheers


Thanks for the reply, will have a look into validation checks.

What do you mean by having dates displayed differently (SpecialDays)??  

Thanks

Peter


This option allows you to display specific dates differently 

(i.e. JAN 21st and FEB 22nd would be "[1: 21], 2:[22]")

Cheers

Hello José Lopes


Very interesting contribution, I didn't know how to use the special days!! 

There is any documentation about the use of the richwidget ?


TIA  

Hello José Lopes


Very interesting contribution, I didn't know how to use the special days!! 

There is any documentation about the use of this richwidget ?


TIA  

Solution

Alberto Ferreira wrote:

Hello José Lopes


Very interesting contribution, I didn't know how to use the special days!! 

There is any documentation about the use of the richwidget ?


TIA  

Here it is! (looked up for it just now)
Found out THERE IS a way to disable some dates :)


http://www.dynarch.com/jscal/

Solution