New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How we can show the uploaded file(s) in file input ( using formbuilder ) ? #1554
Comments
you should make a custom event to detect the changes where the selected file from the file input are stored in an object. Then, send along with the userData json using js FormData(). Eg:
Then sent formData through ajax to backend. Eg, PHP. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
I have rendered the form and also used the UserData (from the FormRender), but when I edit the form data, it's visible all the input type values but not showing the file data in the preview.
Is there any way to show the uploaded files?
Is there any way to get uploaded files in the input sections?
please help me in this case as soon as possible.
this issue is similar with "How Should I Store Image In Jquery Form Builder Because in user data we can't store file,so how i store image,file and show them" issue
Environment Details:
Expected Behavior
Actual Behavior
Currently, it's showing all the input type data without file input
Steps to Reproduce
Screenshot - (optional)
The text was updated successfully, but these errors were encountered: