Forums

Registration form

russelld 07 Nov, 2013
[attachment=0]CF2.jpg[/attachment][attachment=1]CF.jpg[/attachment]Hi all!
I read tutorial about registration but I have a few questions:
1. when we create box for "password" basic> textbox all symbols (password) are visible.
Why can't use the "passwordbox" from basic?
2. in my registration form I need 5 fields: name; phone number; e-mail*; password*; confirm password*.
I don't want to create a name field but Joomla uses: username and name fields.
I look it in www/administrator/components/com_users/models/forms/user.xml

and www/administrator/components/com_chronoforms/form_actions/joomla_registration/joomla_registration.php
string 70 : //check empty fields
$checks = array('name', 'username', 'email', 'password');
When I deleted 'name' the form show error massage (Couldn't save new user, Joomla returned this error )
How to create a simple registration form with e-mail and password fields required only?
Should I need put the "DB Save" into "joomla user registration" (in tutorial do not)?
russelld 21 Nov, 2013
Thanks for reply.
But I still have problem with "name" field. I don't use it but Joomla uses and require it.
GreyHead 21 Nov, 2013
Hi russelld,

As Sloan says you need to set a name. The simplest solution is to put username in the Name field name box. Then the Name and Username will both be the same.

Bob
This topic is locked and no more replies can be posted.