FileUpload access the file before hitting submit?
When you drag and drop or browse for a file and select a file it uploads correct?
Do we have access to that file before we hit the submit button? What I want to do is take the file and process it and fill in form fields from data from that file without having to hit submit and take the user to another form if that makes sense. I know that afterStateUpdated fires after the file is 100% uploaded I guess my question is do we have access to that file on the server side at that point or is there another event I can use?
Do we have access to that file before we hit the submit button? What I want to do is take the file and process it and fill in form fields from data from that file without having to hit submit and take the user to another form if that makes sense. I know that afterStateUpdated fires after the file is 100% uploaded I guess my question is do we have access to that file on the server side at that point or is there another event I can use?
0 Replies