How to customize Joomla Registration Form? Topic is solved

General questions relating to Joomla! 3.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
Locked
irenuyam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 171
Joined: Mon Mar 11, 2019 8:30 am

How to customize Joomla Registration Form?

Post by irenuyam » Mon Jan 17, 2022 3:36 pm

Hello.
I would like to add a few fields in the Joomla registration form. I encountered this video https://youtu.be/2AyCzb2vTaU. I tried to follow it and I was able to add the fields that we need.
customized registration.JPG
I tried to register a user and I checked its profile in the admin dashboard. When I checked, it only saved the "Apellido(s)" field and the other 3 (dropdown options) are not saved meaning it remains as is. So I checked the database and indeed only one input was saved in the database.
php db.JPG
We wanted to make our website independent from external plugins as much as possible that's why I am trying to customize the registration form instead of having a plugin installed.
Can anybody help me? Would really appreciate it.
You do not have the required permissions to view the files attached to this post.

irenuyam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 171
Joined: Mon Mar 11, 2019 8:30 am

Re: How to customize Joomla Registration Form?

Post by irenuyam » Mon Jan 17, 2022 5:37 pm

Finally resolved my problem after hours of going over and over!!!
Admin, you can delete this post. Thank you and sorry for giving you work.

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

Re: How to customize Joomla Registration Form?

Post by Per Yngve Berg » Mon Jan 17, 2022 8:31 pm

You should be able to do it with Custom Fields out of the box.

https://docs.joomla.org/Category:Custom_Fields

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

Re: How to customize Joomla Registration Form?

Post by SharkyKZ » Tue Jan 18, 2022 7:20 am

That video is trash. You will lose your changes the next time you update Joomla.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24974
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: How to customize Joomla Registration Form?

Post by pe7er » Tue Jan 18, 2022 8:25 am

irenuyam wrote:
Mon Jan 17, 2022 5:37 pm
Finally resolved my problem after hours of going over and over!!!
Admin, you can delete this post. Thank you and sorry for giving you work.
Good to hear that you've solved it. Could you please share your solution so that other Joomla users can benefit from it? Thanks!
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

irenuyam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 171
Joined: Mon Mar 11, 2019 8:30 am

Re: How to customize Joomla Registration Form?

Post by irenuyam » Fri Jan 28, 2022 1:00 pm

SharkyKZ wrote:
Tue Jan 18, 2022 7:20 am
That video is trash. You will lose your changes the next time you update Joomla.
I wouldn't say its trash. You'll just have to download the files where you made the changes before you update the version and copy and paste the changes you made after updating it.

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

Re: How to customize Joomla Registration Form?

Post by SharkyKZ » Fri Jan 28, 2022 1:48 pm

It's trash. Any "tutorial" that suggests hacking core files or altering core database schema is trash.

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

Re: How to customize Joomla Registration Form?

Post by gws » Fri Jan 28, 2022 2:07 pm

@irenuyam listen to sharkyKZ and save yourself grief.

irenuyam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 171
Joined: Mon Mar 11, 2019 8:30 am

Re: How to customize Joomla Registration Form?

Post by irenuyam » Fri Jan 28, 2022 3:37 pm

pe7er wrote:
Tue Jan 18, 2022 8:25 am
irenuyam wrote:
Mon Jan 17, 2022 5:37 pm
Finally resolved my problem after hours of going over and over!!!
Admin, you can delete this post. Thank you and sorry for giving you work.
Good to hear that you've solved it. Could you please share your solution so that other Joomla users can benefit from it? Thanks!
It was because I wrote in the code "link" instead of "Link" which is how it is written in the database.

By the way, is it advisable to use this way of customizing the registration form? I tried the custom fields and the fields I added appeared regardless of the language defined, our site is multilingual.

As much as possible we are trying to avoid using plugins.


Locked

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