Field dependency

More
12 years 1 month ago #37102 by victorio404
Field dependency was created by victorio404
Hello
In item view, is it possible to display/hide specific field dependent on the value of another field?
For example field1 is related item and field2 is a text area. field2 should be visible only if there is no related item in field1(it is empty). When I add related item i want field2 to be hidden. Also when related item expires(finish publishing) field2 should be visible again.

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

More
12 years 1 month ago #37104 by ggppdk
Replied by ggppdk on topic Field dependency
Hello,
you could do with some js/ JQuery coding that executes with the onchange event of the form field element


-- 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
12 years 1 month ago #37105 by victorio404
Replied by victorio404 on topic Field dependency
Can that be done with some php function instead?
like: if field1 is empty - echo field2
or something like that?
Sorry if i'm not making lots of sense here, but I'm not a programmer :oops:

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

More
12 years 3 weeks ago #37153 by ggppdk
Replied by ggppdk on topic Field dependency
Hello, such a behavior is useful and we have plans for it , first we will implement chained selects and then more field dependencies, just now this functionality is not available


-- 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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.311 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