on 02-14-2008 1:42 PM
Hi.
Is there any way to make the input field of a date field to be read only but the input help (calendar control) stays active?
set the system date.or u can set the date in implementation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
you con do this dynamically , by coding.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Make the read only attribute to true and the input field is disabled and still the user can browse the calander but he can't select any date.
P.S : What purpose does it serve if you don't allow the user to select the date. Are you going to pre populate the filed with some date and you don't want the user to change it ?
Thanks!
Surya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try disabling it instead of making it readonly.
-Sangeeta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Why do you need date field as read only?If the user enters the Date in a bad format then when he submits it by default error will be shown .You need not implement any code for that.
Regards,
Sudhir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Thats what i was telling you.The frame work doesnot accept illegal date formats.It will give error message by default when you submit the page. you need not worry.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Regards
Sudhir
Edited by: Sudhir Gorantla on Feb 14, 2008 3:04 PM
Edited by: Armin Reichert on Feb 18, 2008 7:15 PM
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.