KnowledgeBase Articles
| Articles | Categories | Screencasts |
What are context sensitive fields and how do I set them up? |
||
| Updated: 11 April 2011 09:53:48 | OpenCRM::Settings::Custom Fields | |
A context sensitive field is a drop down list which can have different values depending on which value is selected in a different "controlling" drop down list.
These are available to set up on OpenCRM as custom fields from the settings menu, in the same way that you would normally add custom fields; Navigate to the settings page and, under the Studio area of settings, click on Custom Field Settings. From there you need to select a module which you wish to see custom fields for, and add custom fields to.

Once you have selected that, you will be taken to a screen which shows a list of the custom fields for that module, and a button to add a new one. Clicking on "New Custom Field" button will take you to the screen where you can set up fields for a module.
Within the list of Field Types at the left of the next screen, there is a type of "Context Picklist".

When you select the Context Picklist you are given the input areas shown above. Label and Condition appear for every custom field when setting up, and the "Context Field" is unique to the Context Picklist type. The "Context Field" is the drop down on a screen which controls what will be shown in the field you are creating. The drop down will show all other drop down fields which appear on the screen. This will include other Context Picklists, so you can chain them together if you need to.
Once you have set the label and the context field, you need to click Save to be taken to the screen to set up what will appear in the new drop down when different values are selected.

The context sensitive lookup set up screen will list all of the values in the controlling field and give a text area to add the values which will show when the relevant value is selected in the controller. Adding values to these is the same as to any drop down edited or created in OpenCRM; each value must be on its own line. Once this is saved, the context field will be available on the relevant page for you to use.

As is show above when the page is loaded you can now select one of the options you have created in the drop-down menu, in this example for Preferred Contact Method. If a value is not entered here then the context sensitive button remains disabled - in this example "Contact Method To Use".
If a value is selected on the driving field, then the values which were set up to display for that value will appear in the context sensitive drop down.

In this example, where we have chosen the preferred contact method of Email, the values we set up to display when this is selected are shown in our new field. If we then change that to be Phone, the values in the box will change, as shown below:

You may also be interested in:
A tab count shows a " * " and no value, A tab count shows " ~ ". Large tab counts seem a bit inaccurate. How does tab count caching work? Why does opening a record with a large number of linked items take a long time? Why can I only see 1000 records in linked grids?
Updated : 30-03-2013 10:41
OpenCRM::Home OpenCRM::Calendar OpenCRM::Leads OpenCRM::Emails OpenCRM::SMS OpenCRM::Contacts OpenCRM::Activities OpenCRM::Reports OpenCRM::Companies OpenCRM::Opportunities OpenCRM::Quotes OpenCRM::Orders::Sales Orders OpenCRM::Orders::Purchase Orders OpenCRM::Invoice OpenCRM::Projects OpenCRM::Helpdesk OpenCRM::Helpdesk::FAQ OpenCRM::Documents OpenCRM::Products OpenCRM::Products::Stock Items OpenCRM::Dashboards OpenCRM::RSS OpenCRM::Contracts OpenCRM::Personnel OpenCRM::Events OpenCRM::Property OpenCRM::Campaigns OpenCRM::Interface-Display OpenCRM::Settings OpenCRM::Settings::Users OpenCRM::Settings::Templates OpenCRM::Settings::Additional OpenCRM::Settings::Custom Fields OpenCRM::Settings::Google Sync OpenCRM::Portal OpenCRM::Add-in::Outlook OpenCRM::Add-in::Pop2OpenCRM OpenCRM::Add-in::SOAP OpenCRM::Add-in::SageLink OpenCRM::Add-in::Web Form OpenCRM::Add-in::Custom Module/code OpenCRM::Editor OpenCRM::Sage Integration OpenCRM::Phone Integration OpenCRM::Data Import-Export- How do I create custom fields in OpenCRM? Updated : 29-06-2011 12:59
OpenCRM::Settings::Custom Fields 
How can I customise my OpenCRM solution? How can I change screen design settings for my Users?
Updated : 16-05-2012 12:32
OpenCRM::Home OpenCRM::Settings OpenCRM::Settings::Users OpenCRM::Settings::Custom Fields- How do I set a field as mandatory? Updated : 10-08-2011 17:16
OpenCRM::Interface-Display OpenCRM::Settings OpenCRM::Settings::Additional OpenCRM::Settings::Custom Fields - Can I carry my custom fields across when converting entities? Updated : 10-08-2011 17:16
OpenCRM::Leads OpenCRM::Quotes OpenCRM::Orders::Sales Orders OpenCRM::Invoice OpenCRM::Settings OpenCRM::Settings::Custom Fields - How do I set up conditions for use with custom fields? Updated : 14-01-2011 11:58
OpenCRM::Settings::Custom Fields - I want some extra information showing on my product grids on Quotes, Sales Orders and Invoices, how can I do this in OpenCRM? Updated : 07-04-2011 14:25
OpenCRM::Quotes OpenCRM::Orders::Sales Orders OpenCRM::Invoice OpenCRM::Settings::Additional OpenCRM::Settings::Custom Fields - How do I list records that contain a value in a field (In other words are not blank) ? Updated : 16-11-2010 09:38
OpenCRM::Reports OpenCRM::Settings::Custom Fields - How Do I add a rich Text field to a custom field? Updated : 07-04-2011 15:22
OpenCRM::Settings::Custom Fields - How do I update a field on multiple records (Global Update) in one go? Updated : 06-04-2011 16:43
OpenCRM::Contacts OpenCRM::Companies OpenCRM::Opportunities OpenCRM::Projects OpenCRM::Settings OpenCRM::Settings::Custom Fields
More..

