Question T18825
Visible to All Users

Can file uploads save to onedrive

created a year ago

Hi, just started playing with these forms and jquery, is it possible to have the file upload function easily save the files to a onedrive location when a user submits a form along with the signature pad data?

Thank you, Chris

Answers approved by surveyjs Support

created a year ago

Hello Chris,
Yes, it's possible. To upload File Upload and Signature Pad data to a storage, disable the storeDataAsTextoption for these questions and implement the SurveyModel's onUploadFiles function to upload signature images and save the uploaded image URLs in survey results.

For more information, please visit these demos:

However, note that the survey.onUploadFiles function is raised immediately after a user initiates file upload or puts a signature. If you wish to save data to a storage only when a user submits a survey, you can handle the onUploadFiles event to store data in a temporary storage and upload data to a OneDrive storage within the survey.onComplete function. For more information on this setup, please visit Delayed File Upload.

I hope this information helps. Please let me know if you have any questions or require further assistance.