Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>
Conditional fields and values
Date: 2005/12/05 20:39 By: mikko Status: User  
Karma: 107  
Platinum Joomlapolitan

Posts: 2230
graphgraph
There should be an option for fields and field values to be conditional, i.e. only display when a condition is met.

An example:

The site registers country and state. Initially The user sees a select list with available countries. When the user
selects a country, another select with the available states appears.

Created a feature request for this: http://developer.joomla.org/sf/go/artf2444?nav=1

mikko
My FREE plugins: List Tab, Conditions, Extended Selects, ReadPDF, Consolidated Tab, Privacy Policy, CB Tab Wrapper Module, CB List Wrapper Module, Simple Sort, Filter Columns, Super Search, Advanced Search, Template Switcher. More info and downloads.

Check out a demo of super search and sortable lists.

My commercial plugins: Advanced Profile Control (1.0.6 stable released)

Click here to see the profile of this user The topic has been locked.

Re:Conditional fields and values
Date: 2005/12/06 05:44 By: elesus Status: User  
Karma: 4  
Junior Joomlapolitan

Posts: 39
graphgraph
REALLY valuable thing.

My example:

The user picks if he/she is a student or teacher. Then the next drop down appears allowing to choose among grades (if student) or among departments (if teacher).
СB3РD
Click here to see the profile of this user The topic has been locked.

Re:Conditional fields and values
Date: 2005/12/06 09:25 By: groenewaldd Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 1
graphgraph
Mine would be:

User selects 'Gender' as female: asks for Maiden name.

Would be really useful.
Click here to see the profile of this user The topic has been locked.

Re:Conditional fields and values
Date: 2005/12/06 09:37 By: pointri Status: User  
Karma: 26  
Gold Joomlapolitan

Posts: 211
graphgraph
That would be fantastic. A plugin making use of an AJAX class toggling fields as visible would be phenominal.

On the same lines, a way to set up calculated fields from the administrative screens would be great as well, picking up the value of one or several user fields to fill in another using php and/or Javascript.

One practical application that comes off the top of my head is to calculate a user's age from a birthdate selected using a calendar field.

Would it even be feasible to extend the field types as plugins?
Joomlapolitan zealot and a somewhat stealthy, rather passive CB3PD developer.

http://www.constructionlounge.com Construction Lounge: Online resource and networking portal for the construction and remodeling industries.
Click here to see the profile of this user The topic has been locked.

Re:Conditional fields and values
Date: 2005/12/06 18:58 By: elesus Status: User  
Karma: 4  
Junior Joomlapolitan

Posts: 39
graphgraph
You can implement Calculated fields with the help of plugins: user enters his birthday, submits the information and plugin using "onAfterRegistration" event calculates his age and adds it to the database.

However it is not possible to implement dependent fields in this manner...
СB3РD
Click here to see the profile of this user The topic has been locked.

Re:Conditional fields and values
Date: 2005/12/06 19:56 By: mikko Status: User  
Karma: 107  
Platinum Joomlapolitan

Posts: 2230
graphgraph
I am pretty sure that one could implement this function by writing a plugin that only inserts some javascript in the UI. This would be quite clumsy though.

mikko
My FREE plugins: List Tab, Conditions, Extended Selects, ReadPDF, Consolidated Tab, Privacy Policy, CB Tab Wrapper Module, CB List Wrapper Module, Simple Sort, Filter Columns, Super Search, Advanced Search, Template Switcher. More info and downloads.

Check out a demo of super search and sortable lists.

My commercial plugins: Advanced Profile Control (1.0.6 stable released)

Click here to see the profile of this user The topic has been locked.

<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login