[Wish] Mandatory property

[Wish] Mandatory property

  
Hi,

I'd like you to consider the possibility to add a "Mandatory" property to the "Combo Box" widget.
Since the "Combo box" property would be tricky to implement, because of the "Special Variables", here's my suggestion:

When the "Combo box" has "Mandatory = True", first you could check the "Variable". If it has an assigned "Variable" and the value is "nullIdentifier" (or ZERO) an error should be raised (cliente side). If it doesn't have an assigned "Variable", it means that we have a list of "Special Variables" and no validation should be performed. In these cases we have to do our own validation if needed.

The "List Box" and "Input Filename" widgets could have this property, also.
It's a good idea. Votes: 2
Votes: 3