Jump to content

create an account - Last Name not showing in FO


Recommended Posts

I'm not sure if I've set something up wrong or have just got things so messed up now.

 

In my authentication.tpl file everything looks correct don't have any problems there. However in FO when someone goes to create a new account it will show first and last name in personal information section then in Your address it will only show first name (won't even show company) then skip straight to address.

 

The problem with this is I keep getting lastname

is required.

 

Obviously I can't get any new customers to register so loosing business. I'm not convinced it's a bug issue but more than likely something I have done but I can't get it to work.

 

 

{elseif $field_name eq "firstname"}

<p class="required text">

<label for="firstname">{l s='First name'}</label>

<input type="text" class="text" id="firstname" name="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if}" />

<sup>*</sup>

</p>

<p>

{elseif $field_name eq "lastname"}

<p class="required text">

<label for="lastname">{l s='Last name'}</label>

<input type="text" class="text" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{/if}" />

<sup>*</sup>

 

This is the coding in my authentication.tpl file

 

I've attached what FO looks like.

 

Any help greatly appreciated.

post-349059-0-61696700-1337032994_thumb.png

Link to comment
Share on other sites

Does anyone have any ideas I've tried reinstalling but I'm guessing whatever happened the first time has happened again. I'm using UK postcode sql file and also using my backup data.

 

I can't seem to find the fault as my authentication.tpl is fine and even if I right click and view source code the line is there to show the last name field it just doesn't show up having serious issues now and getting more than annoying.

Link to comment
Share on other sites

Ok so have figured out it's deffinately something I HAVE done. If I do a fresh install everything is fine but as soon as I use my backup that's it the last name dissappears. Not sure what I could have done to alter that is anyone out there willing to help PLEASE

Link to comment
Share on other sites

  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...