Jump to content

Hide element on form registration


MyaDB

Recommended Posts

Hi,

Please can you help me to hide anelement on my form registration

the code is like this, how i can hide it

<input type="text" placeholder="Prénom" required="" value="" name="firstname" class="form-control">

i have prestashop 1.7.7.3

 

thanks

Link to comment
Share on other sites

  • 8 months later...

For fast solution : you can set default value for this

<input type="text" placeholder="Prénom" required="" value="xxxx" name="firstname" class="form-control">

and after display  none this input on css file (assets/custom.css) :

.row .firstname {

display: none !important;

}

it works on my case

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