Welcome, Guest
Username: Password: Remember me

TOPIC: radio button

radio button 16 Jun 2014 13:19 #12479

  • albert
  • albert's Avatar
  • Offline
  • Senior Member
  • Posts: 70
  • Thank you received: 2
  • Karma: 2
the radio button show me both buttons as green on frontend !
The administrator has disabled public write access.

radio button 17 Mar 2019 00:09 #15682

  • Nicolas
  • Nicolas's Avatar
  • Offline
  • Senior Member
  • Posts: 72
  • Thank you received: 11
  • Karma: 5
Albert :
Please check that you have your forms.xml file the colors of your options:
		<field name="name"
				alias="alias"
				label="YOUR_LABEL_LANGUAGE"
				filter="BOOL"
				listKey="value"
				type="ckradio"
				viewType="both"">
			<option value="0" icon="icomoon-cancel" color="danger">YOUR_FIRST_OPTION</option>
			<option value="1" icon="icomoon-ok" color="success">TH_SECONDE_OPTION</option>
		</field>

I hope you've found the solution since time, but it may help other cooks
Last Edit: 17 Mar 2019 00:10 by Nicolas.
The administrator has disabled public write access.
Time to create page: 0.169 seconds

Get Started