ngarasan VIP
Total posts: 181
09 Mar 2012 22:09

Hi,

I still don't understand the usage of Boolean Element. When will we need this element?

Because it looks like a checkbox on submission form.

Thank you

Last Modified: 02 Mar 2014


Sergey
Total posts: 13,748
10 Mar 2012 11:22

Actualy boolean have to be part of specific field set. I do not know how it gets into Cobalt.

But boolean is usefull in many cases. It is simple interface to let use choose like Yes/No, Show/Hide, Agree/Disagree.

For example you have mobile phone catalog. You may consider to let users choose on submission Yes/No for Camera, GPS, Wi-Fi, 4G(LTE), Touch, ...

And this can looks like simple V and X icons in the article or nice in compare (vertical) view.


ngarasan VIP
Total posts: 181
10 Mar 2012 19:20

Ah.. You're right..

And it looks nice on submission form with sliding button. :)

But why is only YES in the slider?


pepperstreet VIP
Total posts: 3,837
10 Mar 2012 21:21

Technically it stays a form input of type checkbox, right? Checkboxes can be transformed by CSS etc. Will "Boolean" become an Advanced Checkbox field? I mean, a checkbox replacement with special backend parameters for style and icons ?

Powered by Cobalt