No Code Attached Yet
avatar brianteeman
brianteeman
16 Jan 2026

Steps to reproduce the issue

Create a field to be displayed on a contact form (set the Mail) context BEFORE creating the new field
In the options tab for the field Automatic Display select After Title
In the permissions tab set Edit Custom Field Value to allowed for the public user

Repeat for two more fields with
Automatic Display select Before Display Content
Automatic Display select After Display Content

Display the contact form in the front end of the site

Expected result

The three new fields are displayed respecting the Display settings

Actual result

All field are displayed at the end of the form as there is no logic in the default_form file https://github.com/joomla/joomla-cms/blob/5.4-dev/components/com_contact/tmpl/contact/default_form.php to control where the fields are injected

System information (as much as possible)

Additional comments

avatar brianteeman brianteeman - open - 16 Jan 2026
avatar joomla-cms-bot joomla-cms-bot - change - 16 Jan 2026
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Jan 2026
avatar sathwikre
sathwikre - comment - 2 Feb 2026

I’ve opened a pull request that addresses this issue by adding logic to
render contact custom fields based on their configured display positions.

PR: #46814

Tested locally using the steps described in the issue and confirmed that
fields render correctly for After Title, Before Display Content, and
After Display Content.

Add a Comment

Login with GitHub to post a comment