cancel
Showing results for 
Search instead for 
Did you mean: 

Show popup dialog in rule scripts when upload file

junminya
Champ on-the-rise
Champ on-the-rise
Hi,

I wanna check file name when a user upload file.
And if its file name is wrong, i wanna show dialog(pop up) with OK and NG button.

When user click OK button, user can upload file.
When user click NG button, file uploading is stopped.

Do you know how to do it by rule script?
3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator
Hello,

you can not have a rule (folder rule) that triggers a dialog to the user. You need to implement a custom uploader that has to react to the duplicate file name error and trigger the dialog.

Regards
Axel

junminya
Champ on-the-rise
Champ on-the-rise
Thank you Afaust!
You mean web script can't use popup method like "alert("xxxx is error!")"
And I need to custom uploader, but I have no technical knowledge about it..

afaust
Legendary Innovator
Legendary Innovator
A web script is executed on the server which does not have a function like "alert()".