Advertisement

Custom fields, Conditional field content Topic is solved

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
jj-OMTYKT
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue May 14, 2024 5:52 am

Custom fields, Conditional field content

Post by jj-OMTYKT » Fri Mar 21, 2025 1:20 pm

Can anyone tell me, if the following is possible when using J5 Custom Fields:

In Joomla5 articles, is it possible to have make the value of a custom "list" field, determine the value of a "text area" field (conditional)

(example:
if value of listfield is "1", then the value of text area field automatically/dynamically is set to "dog"
else
if value of listfield is "2", then the value of text area field automatically/dynamically is set to "cow"
etc.

)?

Advertisement
gws
Joomla! Champion
Joomla! Champion
Posts: 6642
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Custom fields, Conditional field content

Post by gws » Fri Mar 21, 2025 2:03 pm


jj-OMTYKT
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue May 14, 2024 5:52 am

Re: Custom fields, Conditional field content

Post by jj-OMTYKT » Fri Mar 21, 2025 2:46 pm

@gws, thanks for the tip. I'll give it a good look :)

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31733
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Custom fields, Conditional field content

Post by Per Yngve Berg » Fri Mar 21, 2025 2:56 pm

A list field will do that.

Value: 1
Text,: Dog

Will store 1 and show Dog

jj-OMTYKT
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue May 14, 2024 5:52 am

Re: Custom fields, Conditional field content

Post by jj-OMTYKT » Fri Mar 21, 2025 3:09 pm

@Per Yngve Berg, thanks - and I am aware of that :)
my challenge is that I want/need to show longer texts (I ask a question to my user - who chose a level (ie. 1 to 4) and is then presented with my general recommendation, related to the chosen level) - so I think the list field will be difficult to work with.
I'm exploring RegularLabs snippets - which will work in the list field, but is hard to manage, since the value of the snippet is hidden.
I'm also looking into RSforms PRO article creation plugin, but there I'll have the same problem :)

Life is hard :)

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31733
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Custom fields, Conditional field content

Post by Per Yngve Berg » Fri Mar 21, 2025 4:06 pm

Sub-form type field?

User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10613
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Custom fields, Conditional field content

Post by AMurray » Fri Mar 21, 2025 10:33 pm

Since your subject line for this thread mentions "Conditional Content" try Regular Labs Conditional Content?
https://extensions.joomla.org/extension ... l-content/
Regards - A Murray
Global Support Moderator

jj-OMTYKT
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue May 14, 2024 5:52 am

Re: Custom fields, Conditional field content

Post by jj-OMTYKT » Sat Mar 22, 2025 5:43 am

@AMurray: but of course - how could I miss that. Extension bought - case closed :)

Thanks guys, for your attention

Kr. J-)

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 5.x”