I created a form for uploading a video and I need the video saved to DB. When I follow instructions from https://www.youtube.com/watch?v=l4Nd-3FIO6Q
I run into a database error when trying to save database.
What can be done?
Thank you.
What can be done? Telling us what the error IS would be the best start.
Hi rustyDusty,
I seriously suggest that you don't save video to a database table. Save it to a folder (for security, preferably above your site root folder) and add the file name (and path?) to the database table.
Bob
Yes, that too. Databases are not meant for storing stuff like that. They can do it, but just don't.
Thanks much for that sound advice. But tell me how do I set an uploaded video to a folder in a Chronoforms form?
Hi rustyDusty,
I'm not sure I understand your question? You upload a video in the same way as any other file upload and you can set the file name and folder. If you are asking users to upload videos then you may need to check that your server settings allow large uploads.
Bob
I'm a little rusty on Chronoforms. Haven't touched it for a few years. I think I am supposed to put in an action which tells the form where to store the upload. Beforehand people would upload a small image and it would come in with the email. I never knew where those images were stored on my server.
Hi rustyDusty,
You can set the upload path using an Upload Files action in the Submit event of your form. Make sure that is before the Email action if you want to use the links in an email.
Bob