Jump to content

Conditional fields in register


Welele

Recommended Posts

Hi everyone

 

We need edit fields in customer register and we need make dni & vat_number fields conditionals like phone number: at least one required.

 

I tried using sentences like phones (al least one) but doesnt work.

  

{if isset($one_phone_at_least) && $one_phone_at_least}
		{assign var="atLeastOneExists" value=true}
		<p class="inline-infos required">** {l s='You must register at least one phone number.'}</p>
{/if}

 

Any idea?

 

Best regards

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