On 21.01.2004 17:18, Sylvain Wallez wrote:

Do you mean you want to remove <wd:booleanfield> and add a styling
type="checkbox"?

Yep. This will be clear and for another part a "faster" parsing of definition.

Sorry, I don't understand that sentence :-/

"Faster" parsing should mean one widget-type less I guess.


WDYT?

Sounds reasonable.

Sorry, not to me. I don't think checkbox fits naturally as a field styling:
- using a checkbox for a field with a selection-list only applies to lists having exactly 2 values.

Hmm, indeed, seeing it the other way around makes no sense.


- an HTML checkbox returns only a value or a null, but cannot switch between value1 and value2 without some hidden fields with JS tricks.

That's at least something is handable automatically.


Actually, I think we should add more stylings to booleanfield (e.g. list and radio) along with the ability to have a selection-list with exactly 2 items.

Ok.


Joerg

Reply via email to