Skip Navigation

[Resolved] Where are generic file fields stored

This support ticket is created 3 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 3 years, 9 months ago.

Assisted by: Jamal.

Author
Posts
#2039187

thats another question i have, when i have generic custom fields in the cred form, which means for example a file to upload with their licence document of the property, where will that document, word or pdf file (or any other information of a generic field) be stored? as i need to ask some information which not needs to be published such as licence, ....

thank you for your help.

#2039191

Generic fields are not stored in the database. They are meant to be used by custom code hooked to Forms hooks: https://toolset.com/documentation/programmer-reference/cred-api/

The files will be uploaded to the upload directory, but they won't be saved in the database. You will need to implement some custom code to save them where you need them. The uploaded files' information will be available in the $_FILES array.
hidden link

I hope this helps. Let me know if you have any questions.