cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling dates in the past

Former Member
0 Kudos

Hi all,

I have an input field which is bind to value atribute of type date. Now I can choose a date from a small calendar which is next to the input field.

1 Is it possible to disable the input field for inserting a text but keep the calendar enabled? (the user cant write into the input field any text but can insert the date through the calendar)

2 Is it possible to disable all the dates in the past in the calendar? (the user can choose only the dates in future)

Thank you for your answers.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ivo,

[1] is not possible -- you may either get either read-only field with disabled value help, or editable field with value help.

[2] is not possible as well.

So just validate entered value in action handler(s)

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Former Member
0 Kudos

Anyway thanks for your help.

Answers (0)