on 02-06-2005 5:12 AM
Hi,
Will marking an input field state as required automatically make a validation? I observed something strange that if i bind it to a value attribute, the check works, but for a model attribute it doesn't. Why is that?
No, this is only a visual hint.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Very strange.
The only way you can enforce required attributes declaratively is to define your dictionary type based on string type and define Minimum Length constraint to be 1.
Then, if you will use this DDIC type for plain context attributes and / or model attributes then you get all necessary validation checks "behind the scene"
VS
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
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.