- Posts: 151
- Thank you received: 9
Name fields asked during registration
14 years 2 months ago #59772
by Maurice
Name fields asked during registration was created by Maurice
Hi,
Please see the attached image. Whe a user registers, he/she is asked several times for a name.
1. Name
2. Username
3. First name
4. Last name
First name and last name (3 & 4) with the address is okay.
Username (2) is also okay.
Buy why is Name (1) asked? Where can I remove this?
Thank you,
Maurice
Please see the attached image. Whe a user registers, he/she is asked several times for a name.
1. Name
2. Username
3. First name
4. Last name
First name and last name (3 & 4) with the address is okay.
Username (2) is also okay.
Buy why is Name (1) asked? Where can I remove this?
Thank you,
Maurice
Please Log in or Create an account to join the conversation.
14 years 2 months ago #59860
by nicolas
Replied by nicolas on topic Re: Name fields asked during registration
The name at the top is the name of the user.
The first/last name in the address area is for the address.
They might not always be the same.
You can remove the code
from the file "registration" of the view "user" via the menu Display->Views if you want to remove the first name field. It will be filled automatically with the address first/last name.
The first/last name in the address area is for the address.
They might not always be the same.
You can remove the code
Code:
<tr class="hikashop_registration_name_line">
<td class="key">
<label id="namemsg" for="register_name">
<?php echo JText::_( 'HIKA_USER_NAME' ); ?>
</label>
</td>
<td>
<input type="text" name="data[register][name]" id="register_name" value="<?php echo $this->escape($this->mainUser->get( 'name' ));?>" class="inputbox required" maxlength="50" /> *
</td>
</tr>
Please Log in or Create an account to join the conversation.
14 years 2 months ago #59985
by Maurice
Replied by Maurice on topic Re: Name fields asked during registration
That was it. Thanks!!!
Please Log in or Create an account to join the conversation.
14 years 2 months ago #60079
by Teto
Replied by Teto on topic Re: Name fields asked during registration
Great!
it works perfectly!!!
it works perfectly!!!
Please Log in or Create an account to join the conversation.
13 years 5 months ago #101325
by SG
Replied by SG on topic Name fields asked during registration
Exactly what I needed!
Thanks!!!
Thanks!!!
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 140
- Thank you received: 0
12 years 4 months ago #159335
by zipadyduda
Replied by zipadyduda on topic Re: Name fields asked during registration
In what file is this?
Please Log in or Create an account to join the conversation.
12 years 3 months ago #159487
by Eliot
Replied by Eliot on topic Re: Name fields asked during registration
As this post is 1 year old you should probably not have to do this except if you are using the same version for 1 year without updating.
In this cas, as Xavier said, the file is:
But I would suggest to update to the latest version, it's a safer option.
In this cas, as Xavier said, the file is:
from the file "registration" of the view "user" via the menu Display->Views if you want to remove the first name field. It will be filled automatically with the address first/last name.
But I would suggest to update to the latest version, it's a safer option.
Please Log in or Create an account to join the conversation.
Time to create page: 0.237 seconds