Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Boolean Radios not displaying correctly.

Boolean Radios not displaying correctly. 19 Jun 2013 13:59 #7578

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
Hi, there just so you know the Boolean field types when set to display as radios are not displaying correctly. e.g. They appear on the page but when selecting either Yes or No it does not then indicate which has been selected. It does however save your selection in the database. It is simply not showing which is the selected option. A work around for now is to use combo's. Just thought I would let you know.

Great work on the new system by the way.

Cheers.
The administrator has disabled public write access.

Boolean Radios not displaying correctly. 21 Jun 2013 18:40 #7597

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 415
  • Thank you received: 132
  • Karma: 47
I Might add to this...
When using prefill it does not display difference in selection as described above

BUT ALSO NOTICED

VALIDATION FAILS Indicating that the field is required for the following
Bool Value - Properties
Required => yes
Unique => no
Default => false
Prefill => Yes

NO VALIDATION ERROR for the following
Bool Value - Properties
Required => yes
Unique => no
Default => True
Prefill => Yes

The difference being the default values True/False
Last Edit: 21 Jun 2013 18:42 by BTB300.
The administrator has disabled public write access.

Boolean Radios not displaying correctly. 26 Jun 2013 21:55 #7716

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed.

The radio display as group buttons (bootstrap) works now fine under J!2.5 and lower
Added :
dom/assets/bootstrap/radio.js

and changed :
dom/html/form/input/radio.ph

I splitted this topic in two.
Remains the small issue in grid (better rendering for bools) :
www.j-cook.net/index.php/forum/new-ticke...aying-correctly#7613
Coding is now a piece of cake
Last Edit: 26 Jun 2013 21:56 by admin.
The administrator has disabled public write access.
The following user(s) said Thank You: BTB300
Time to create page: 0.064 seconds

Get Started