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

TOPIC:

Tables / Data Types ? 27 Apr 2015 13:05 #12929

Hello

I am creating a component and do not know how some fields.

How do by, for example:

checkbox

radio button

group buttons and checkboxes

Thank you

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

Tables / Data Types ? 27 Apr 2015 15:09 #12933

Checkbox - This is the BOOLEAN data type and you can have it as various types when you add it to your form (checkbox, radio, select)

Radio List - This is either a FOREIGN KEY or ENUMERATION (or boolean if only two options). When you create your FORM, drag the field onto the brick, click the PROPERTIES button and you have a dropdown which has the options of LIST, COMBO, RADIO. Radio will do a radio list

I dont think there is a field type for checkbox groups / buttons but it is not much effort post coding to convert a radio list into a checkbox group
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
The following user(s) said Thank You: admin

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

Tables / Data Types ? 27 Apr 2015 15:22 #12938

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Check box is not proposed yet.

Radio button : you can change the control it in the properties, but the coming release is much improved for that.
This is available only for lists (FK, enums)

checkboxes refers to N:1 or N:M, wait few weeks it is coming soon.

The final rendering of Cook component can be improved for sure.
This is my preoccupation for next upgrades.
Coding is now a piece of cake
The following user(s) said Thank You: MorganL

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

Tables / Data Types ? 27 Apr 2015 16:01 #12947

I'm testing the two fields, Bool and Enumeration.

The Bool has a checkbox option, but the Enumeration has not.

In case I need, is an Enumeration where items are boxes.

But I will wait for your next update.

The J-cook is very good, continue making improvements, I will recommend it to all my friends.

I have 2.2 million followers on face only about joomla.

www.facebook.com/groups/joomlapro/

Will be welcome, but the official language is portuguese

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

  • Page:
  • 1
Time to create page: 0.093 seconds

The j-cook project is one of the best of its kind and it is nice that we all try to contribute in little ways to make life easy for each other.

vlemos (Forum)  

Get Started