74
Views
4
Comments
Solved
How to clear FileUpload control text after uploading?
Question
Application Type
Reactive
Platform Version
11.8.2 (Build 15398)

I'm trying to clear the filename from fileupload control after file upload. I have a scenario to upload multiple files without refreshing the page.

Kindly please help how to clear upload control?

Fileupload.PNG
2024-04-15 05-25-57
JMATHEW
Solution

Thanks maria for your quick response. 

May i know how do i clear the filename from uploadcontrol using client action? See attachment.

Fileupload2.PNG
2021-03-18 21-03-15
Benjith Sam
 
MVP

Hi Jim,

you just have to define the filename reset logic within the Upload widget OnChange handler action flow

see this sample app-UploadWidget

Refer the attached .oml file


Hope this helps you!


Kind regards,

Benjth Sam

RWALabUploadWidgetResetFileName.oml
2024-04-15 05-25-57
JMATHEW

Dear Benjith,


Thanks a lot for your Support. It worked fine.



2018-06-05 16-54-03
Maria da Graça Peixoto

Just erase the content from the variable you are using to hold the file name. Remember to completely process the uploaded file before to do that   

Regards 

Graça

2024-04-15 05-25-57
JMATHEW
Solution

Thanks maria for your quick response. 

May i know how do i clear the filename from uploadcontrol using client action? See attachment.

Fileupload2.PNG
2021-03-18 21-03-15
Benjith Sam
 
MVP

Hi Jim,

you just have to define the filename reset logic within the Upload widget OnChange handler action flow

see this sample app-UploadWidget

Refer the attached .oml file


Hope this helps you!


Kind regards,

Benjth Sam

RWALabUploadWidgetResetFileName.oml
2024-04-15 05-25-57
JMATHEW

Dear Benjith,


Thanks a lot for your Support. It worked fine.



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.