No additional fields displayed in form (with module)

General questions relating to Joomla! 4.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
cmf4
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Jun 22, 2022 6:37 pm

No additional fields displayed in form (with module)

Post by cmf4 » Sun Jun 26, 2022 7:14 am

I created a form with two tables should display the additional fields, on j3 it works for me and the various {field xx} are replaced by the value of the additional field, in J4 it does not happen even if I enable the "Interpret plugin code" option.


tips? am I wrong something?
You do not have the required permissions to view the files attached to this post.

User avatar
drmenzelit
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Sat Oct 22, 2011 8:30 am
Contact:

Re: No additional fields displayed in form (with module)

Post by drmenzelit » Tue Jun 28, 2022 1:13 pm

Is the plugin Content - Fields activated?

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2326
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: No additional fields displayed in form (with module)

Post by SharkyKZ » Tue Jun 28, 2022 2:17 pm

Which module is this?

cmf4
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Jun 22, 2022 6:37 pm

Re: No additional fields displayed in form (with module)

Post by cmf4 » Tue Jun 28, 2022 9:36 pm

drmenzelit wrote:
Tue Jun 28, 2022 1:13 pm
Is the plugin Content - Fields activated?
Yes, if I insert the same table directly in the article, the additional fields work perfectly, they are filled in with the value of the field as you can see from the image

cmf4
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Jun 22, 2022 6:37 pm

Re: No additional fields displayed in form (with module)

Post by cmf4 » Tue Jun 28, 2022 9:38 pm

SharkyKZ wrote:
Tue Jun 28, 2022 2:17 pm
Which module is this?
I tried both with my own module, but this is a custom module

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2326
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: No additional fields displayed in form (with module)

Post by SharkyKZ » Wed Jun 29, 2022 5:42 am

Expected behavior. Field shortcodes are only meant to be used inside items they're assigned to.

cmf4
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Jun 22, 2022 6:37 pm

Re: No additional fields displayed in form (with module)

Post by cmf4 » Wed Jun 29, 2022 5:59 am

SharkyKZ wrote:
Wed Jun 29, 2022 5:42 am
Expected behavior. Field shortcodes are only meant to be used inside items they're assigned to.
I get it, there is no way.

Many thanks

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2326
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: No additional fields displayed in form (with module)

Post by SharkyKZ » Wed Jun 29, 2022 6:08 am

It's possible but requires custom coding. You said you had your own module. Can you make changes to it? Also I have no idea why this worked for you in J3.

cmf4
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Jun 22, 2022 6:37 pm

Re: No additional fields displayed in form (with module)

Post by cmf4 » Wed Jun 29, 2022 6:16 am

SharkyKZ wrote:
Wed Jun 29, 2022 6:08 am
It's possible but requires custom coding. You said you had your own module. Can you make changes to it? Also I have no idea why this worked for you in J3.
A custom coding would be fine, I can put it in the module I created and it does other functions.

On one site in j3 it still works, on another it has stopped working at some point


Post Reply

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