How to modify or add a user registration field

Discussion regarding Joomla! 4.x security issues.

Moderators: Bernard T, mandville, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
GillianBPP
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 221
Joined: Wed Oct 01, 2014 10:25 am

How to modify or add a user registration field

Post by GillianBPP » Tue Oct 26, 2021 3:22 pm

I'm setting up a members' registration form for an orchestra J4 website and, rather than 'My favourite book', I would like to change the title to 'What instrument do you play?'. Failing that, disable 'My favourite book' and add a new field to the form.

Is this possible?

Edit: I have found how to change the title, via Language Overrides, but not how to add a new field.
I have looked at template overrides but I don't know the correct syntax for adding a new field.

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

Re: How to modify or add a user registration field

Post by SharkyKZ » Tue Oct 26, 2021 4:11 pm

You can use Custom Fields (Users -> Fields) or create your own profile plugin https://docs.joomla.org/Creating_a_profile_plugin.

If you need user profiles with fields visible publicly, you'd probably better off using some sort of community extension.


Post Reply

Return to “Security in Joomla! 4.x”