Question T19376
Visible to All Users

How to upload files to server on Survey Creator?

created 5 months ago

On every file selection such as Logo or Images for image-picker question type, instead of storing the base64 on the JSON Editor, how to store a URL from our server handling the upload from the Library?

Thanks.

Answers approved by surveyjs Support

created 5 months ago

Hello,
To upload images to a server and store image links within a survey JSON schema, implement the creator.onUploadFile function. For more information, please refer to the following demo: Manage Image Uploads.

Let me know if you require further assistance.

    Comments (2)

      Awesome, thanks for the quick response!

        You're always welcome. Please feel free to contact us if you require further assistance.