on 03-10-2005 4:21 PM
Is it possible to restrict an InputField mapped to a date context node to accept only Date-Picker based input?
I know that WD will parse the value for me and will let me know if I'm entering a wrong value, but this seems to choke in some of the WAS versions.
Hi Marius,
answer is no, its not possible to make the date textbox disabled and the date selector button enabled at the same time.
Shubhadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What means "this seems to choke in some of the WAS versions"?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Armin,
I noticed this:
if one enters 'abc' in the inputfield, the error message is displayed correctly (Date is invalid etc.)
if one enters '123' in the inputfield, an exception is thrown when the page is submitted (the exception is thrown before any of my own code is run).
I think this depends on the WAS version. For this question, however, I was mostly interested if we could disable the inputfield and restrict the user to use the calendar, as the usage is easier to contain. It seems like this is not possible (at least currently) so I abandon this idea.
Regards,
Marius
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.