Jump to content

Recommended Posts

$fields_form = array(
            'form' => array(
                'input' => array(
                    array(
                        'type' => 'file_lang',
                        'label' => $this->getTranslator()->trans('Image', array(), 'Admin.Global'),
                        'name' => 'image',
                        'required' => true,
                        'lang' => true,
                        'desc' => $this->getTranslator()->trans(
                            'Maximum image size: %s.',
                            array(ini_get('upload_max_filesize')),
                            'Admin.Global'
                        )
                    ), 

Hello,

I would like to add a button to this code to delete the image, but I do not know how to do it.

thank you in advance for your help

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More