Jump to content

How To Remove Some Of Form Area


Recommended Posts

what error do you get, without more info noone can help you

surname is a required field so you will have to edit /classes/address.php

remove one field at a time and keep checking for errors

as what you are trying to do is non standard its hard to guide you step by step

but first of all edit /themes/your theme/authentication.tpl and remove the following section of code


{l s='Birthday'}

-
                   {foreach from=$days item=day}
{$day|escape:'htmlall':'UTF-8'}  
                   {/foreach}

               {*
                   {l s='January'}
                   {l s='February'}
                   {l s='March'}
                   {l s='April'}
                   {l s='May'}
                   {l s='June'}
                   {l s='July'}
                   {l s='August'}
                   {l s='September'}
                   {l s='October'}
                   {l s='November'}
                   {l s='December'}
               *}

-
                   {foreach from=$months key=k item=month}
{l s="$month"} 
                   {/foreach}


-
                   {foreach from=$years item=year}
{$year|escape:'htmlall':'UTF-8'}  
                   {/foreach}




then try submitting the form and report back any errors

Link to comment
Share on other sites

  • 5 months later...

Hi there

I need to remove the last name from the required fields in the /Classes/Address.php field. I have removed the lastname field from the required_fields array, but still when I do not enter any value in the field at registration, I get the error message that field is required and user does not get registered.

Any ideas please?

Thanks a lot in advance

Link to comment
Share on other sites

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...