Jump to content

disable back-office form field


Recommended Posts


I want to disable file upload field in back-office. Like in html we use disabled, I want to know is there any way to disable field in prestashop.


<input type="text" name="lname" disabled>
                    'type' => 'file',
                    'label' => $this->l('Upload Image File'),
                    'name' => 'sfk_image_name',
                    'display_image' => true,
                    'required' => true,
                    'desc' => $this->l('Upload an image from your computer. When doing edit record old image will be used if no image uploaded.')


Link to comment
Share on other sites

  • 1 year 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...