Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

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.

Please Log in or Create an account to join the conversation.

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

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

Please Log in or Create an account to join the conversation.

Last edit: by BTB300.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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
The following user(s) said Thank You: BTB300

Please Log in or Create an account to join the conversation.

Last edit: by admin.
  • Page:
  • 1
Time to create page: 0.115 seconds

Les générateurs de code je les connais presque tous pour les avoir essorés en long en large et en travers ... mais celui ci c'est vraiment un outil formidable de simplicité et d'efficacité !
Marc. (liubov - Forum)

Get Started