Login / Register  search  syndication  about

          Jason Buss' Blog

Jason Buss on SalesLogix development & customization, SQL, and more.

SalesLogix Basics 3 - Radio Buttons VS Radio Group controls

For this basics article, I just wanted to outline the differences between the Radio Button and Radio Group controls, and when you would want to use one vs. the other.

Both controls provide a similar sort of interface to end users, allowing them to select one out of many available options.  Differences in how the information is saved, however, could determine which method is used.

 

Using a radiogroup control, you would only need a single field in the database to hold the resulting value.  In addition, the value stored is the actual string displayed in the group itself.  In this example, I create a field called "GroupOptions".  When this record is saved, the value of "Test1" is stored in the database.

 

To set up the radiogroup control, you just need to add each option to the "Items" property of the control.  If you set the "Columns" property of the control, then the options will be split evenly between however many columns are defined.

 

 

With radio buttons, you would need a field for each option.  A value of either "T" or "F" is stored for the option selected.  For this example, I've created 4 fields; "GroupOption1", "GroupOption2", "GroupOption3" and "GroupOption4".  When this record is saved, a value of "T" would be stored in the "GroupOption1" field, while "F" is stored in the "GroupOption2" - "GroupOption3" fields.

 

Radio buttons only allow one selection within whatever control container the radiobuttons are contained.  In order to group these specific options together, I've used a panel control as a control container.  Do do this, you just need to drop the panel control on the form, then drop the RadioButton controls on that Panel control.  Each radiobutton is a seperate control.

 

So those are the main differences between those controls.  To summarize:

Radiogroup:

  • Only one control needs to be defined
  • Only one field needs to be added to the database
  • Literal value is stored in the database

RadioButtons

  • A field for each option must be added to the database
  • You must add a control for each field
  • If you want to set up multiple option groupings on a form, and additional control container must be used (such as a panel control)
  • "T" or "F" is stored in the database for the option selected.

 

Thanks for reading!  Smile

What's This?
  
Bookmark and Share

About Jason Buss

   Jason is a senior application developer with Customer FX.



Related Content
   How do I fix a corrupt Picklist in Infor CRM version 8.1?
I had a user ask how to fix a corrupt picklist. The picklist did not show any values when trying to e
Posted on Feb 06, 2015 by Dale Richter to Infor CRM Questions & Answers
 
   Creating a Searchable & Filterable ComboBox in Infor CRM (Saleslogix) Web Client
I've had a few posts lately covering the ComboBox control in the Infor CRM (Saleslogix) Web Client. T
Posted on Feb 05, 2015 by Ryan Farley to Ryan Farley's Blog
 
   Limiting the Height of the Infor CRM (Saleslogix) ComboBox Popup
In my last post, I discussed how the Infor CRM (Saleslogix) ComboBox is a Dijit Select form widget. This
Posted on Jan 29, 2015 by Ryan Farley to Ryan Farley's Blog
 
   How to Disable the ComboBox Control in the Infor CRM (Saleslogix) Web Client
There's a problem with the ComboBox control in the Infor CRM (Saleslogix) Web Client. It won't di
Posted on Jan 22, 2015 by Ryan Farley to Ryan Farley's Blog
 
   Problems running Crystal Reports in the Infor CRM (formerly Saleslogix) LAN client
We recently had a client that was using the Crystal RDC object in VBScript within the LAN client to run a
Posted on Jan 20, 2015 by Kris Halsrud to Kris Halsrud's Blog
 
Comments

 

David Tinjum said:

Thanks for sharing this.  Even I can understand it:-)

January 8, 2009 9:50 AM
 

html5 converter said:

Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again.

May 12, 2012 4:28 AM

Leave a Comment

(required)  
(optional)
(required)  
Add
All contents Copyright © 2015 Customer FX Corporation
Customer FX Corporation
2324 University Avenue West, Suite 115
Saint Paul, Minnesota 55114
Tel: 800.728.5783

  Follow @CustomerFX on twitter
Follow the best news, tips, and articles
  Subscribe to Customer FX on youtube
Watch SalesLogix tutorial videos from Customer FX
Login / Register