Conditional fields

More
12 years 3 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
12 years 3 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 review. Thanks!

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

More
12 years 3 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
12 years 3 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
12 years 3 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 review. Thanks!

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

More
12 years 2 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.

More
12 years 2 months ago #43158 by joomla_user
Replied by joomla_user on topic Conditional fields
Hello friends,

One issue I've encountered is that "company" is a custom field and "product" is another custom field.
The problem is how can i target the output of company selection to the product field given the fact that its field id can change ? say the product field was deleted and later created again and now with different id ? how can i always find that field? actually the same goes for both fields ..
one solution i came up with is to store the "product"'s field name/id in DB, and then when company selected i will seek the field id from the DB and then apply the
result to it. Its kinda weird work around and i wanted to ask if there is a better way to achieve that ..

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

More
12 years 2 months ago #43183 by ggppdk
Replied by ggppdk on topic Conditional fields
Hello

The problem is how can i target the output of company selection to the product field given the fact that its field id can change ? say the product field was deleted and later created again and now with different id ? how can i always find that field? actually the same goes for both fields ..


this is more a programming question than a FLEXIcontent question

you have to make some planning of it,

about conditional fields, you may ask for updated information (about progress) at start of January

Regards


-- 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 review. Thanks!

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

More
12 years 1 month ago #44507 by alitogata
Replied by alitogata on topic Conditional fields
Do we have any news about conditional fields? :?:

FLEXIcontent v3.1.0-rc2
Joomla! 3.6.2

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

More
12 years 1 month ago #44520 by ggppdk
Replied by ggppdk on topic Conditional fields
Hello

yes,
this will be in FLEXIcontent v2.1.4 (maybe name v2.2.0) together with multimedia fields (share video, address (gogglemap) ) that are based on user-contributed fields

it is too late for v2.1.3


-- 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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
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