modify yes/no plugin

madpato

Member
Hello

I am using the yes/no plugin but i need to make a little adjustment to it, i require an aditional field to be "empty" so the element will have 3 states instead of 2, i know that 0 is for no and 1 is for yes, is it possible to make the state null (empty) to be a third state?
I know i could make this with a dropdown, but my problem is that i require the style of the yes/no button.
Thanks.
 
Add a radiobutton element with "show button group" = yes.
Then you can style in custom_css.php as you like.
You'll get
<label class="fabrikgrid_your-radio-value1 btn"> (button/option unselected)
<label class="fabrikgrid_your-radio-value2 btn active btn-success"> (button/option selected)
So you can style the unselected ones and/or the selected ones.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top