378
Views
6
Comments
Solved
Is it possible to limit inputs on the Calendar Widget
Discussion

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

2018-08-22 16-02-08
José Lopes
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 :)


https://www.dynarch.com/jscal/

2018-08-22 16-02-08
José Lopes

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


2018-12-04 15-40-41
Peter Travers

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


2018-08-22 16-02-08
José Lopes

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

2014-10-21 20-15-17
Alberto Ferreira

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  

2018-08-22 16-02-08
José Lopes
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 :)


https://www.dynarch.com/jscal/

2014-10-21 20-15-17
Alberto Ferreira

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  

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.