Jump to content

Add field of type file to the registration form


Recommended Posts

Hi everyone,

 

I am trying to create a file type field in the registration form of my prestashop.

I have already created the field and I can attach a pdf, the problem I have is that I cannot save this file on the server, and in the database the name of the file is saved, but not the path, since it does not exist not being saved on the server.

Does anyone know how I can save the path of the file that I want to upload and how to save it in a folder on the server.

 

I attached some screenshots showing the development.

Thank you very much, I wait for your help!

Captura.JPG

Captura1.JPG

 

Captura2.JPG.59600a155a4525160420ba3bc2c8e433.JPGCaptura3.JPG

Edited by david19942
Add new capture (see edit history)
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...