Conditional fields

More
11 years 6 months ago #42759 by joomla_user
Hello,

Is it possible to create conditional fields in FC ?
For example, i have custom field (lets say list of companies), i want to create new custom field which will change upon the values in the 1st field (the products of certain company).

Thanks in advance.

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

More
11 years 6 months ago #42766 by ggppdk
Replied by ggppdk on topic Conditional fields
Hello

this is not an uncommon request we have an enhancement issue in bug tracker for making this

code.google.com/p/flexicontent/i ... ail?id=260


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 6 months ago #42770 by micker
Replied by micker on topic Conditional fields
maybe tou can do this with code in template

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
11 years 6 months ago #42779 by hede
Replied by hede on topic Conditional fields
In case you are considering a custom template for your content you can achive this with custom code.

Unless you handle massive amounts of data you could load all data at once from the db and apply the desired behavior of the second field via Javascript's onchange() method of the first field. In case of massive data you might use an AJAX call to get the data according to the value of the first field. Since Joomla uses jQuery you can use the examples in the API docs at api.jquery.com/jQuery.ajax/

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

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

More
11 years 6 months ago #42784 by ggppdk
Replied by ggppdk on topic Conditional fields
Hello

exactly,
that is how it is done (and how we are going to do it) via AJAX in browser


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 6 months ago #42933 by joomla_user
Replied by joomla_user on topic Conditional fields
Dear friends,

Thank you very much for the info, i will try to apply this solution.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.361 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save