Horizontal Radio or Check box

Is it possible to display radio boxes or check boxes horizontally?

I defined a valuelist “sino” with ‘yes’ and ‘no’ and when I display a field with displaytype=radios and valuelist=sino works fine but I’m not able to display the “yes” and “no” choices horizontally but only vertically.

Servoy 1.1 R2, build 257

Thanks in advance

Not possible, but it’s on the requested feature list.
Thanks.

Is there any news on where this feature is in planning?

Will not be in 1.2 but pretty soon after that one.

I’ve come into this discussion pretty late I’m afraid but can anyone point me to the place in the documentation that describes how one can format radio buttons and check box fields?

Apart from the vertical vs horizontal issue which is now clarified for me I’m also wondering how to get the radio button to display a different value to that stored eg Show “yes” when “1” is stored. Is Servoy soft typed in the way that FMP is?

Attached sreenshot (Define valuelists) shows you how to select:
DISPLAY value, city (“Show in field/list” is checked)
DATABASE value, addressesid ("Return in dataprovider "is checked.)

Also press F1 (help) and search for “valuelist”.

lucidlee:
Apart from the vertical vs horizontal issue which is now clarified for me I’m also wondering how to get the radio button to display a different value to that stored eg Show “yes” when “1” is stored. Is Servoy soft typed in the way that FMP is?

You can also do this in a MANUALLY TYPED value list (fixed list) as well by using a pipe character to seperate the displayed value from the returned value. For example:

Yes|1
No|0

NOTE: Only works on 2.0b3 or higher.

Hope this helps,

Bob Cusick

automazione:
Is it possible to display radio boxes or check boxes horizontally?

This is possible in Servoy 2.0
Set the field_type to ‘check’ or ‘radios’ and scrollbars vertical never.