on 08-06-2005 5:11 PM
Hello All,
Does anyone know if its possible to create a time input field that accepts 2 possible format eg : 0900 or 09:00 ?
I am able to do so for either format in the local dictinary but I am wondering if its possible to make the field accept both formats ? Thank you very much.
from
Kwok Wei
1. Create calculated attribute (read-write) in the same context node (or in 1..1 non-singleton sub-node)
2. In getter just return time field
3. In setter convert text eneterd from either format and assign it to time field.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes and no.
In fact you will hard-code format via parsing in setter method. However, represenation will be preserved via getter (if you follow exactly my advise). So user may type in several formats, but sees result only as it will defined by representation. Sure, you must support representation fromat in setter (and additionally several others)
VS
Hi,
Two formats are not possible.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.