This topic is locked

Field events for file upload

3/3/2022 11:26:34 AM
PHPRunner General questions
T
telematics author

hi,

which field event and functions can be used, when handling with files? On the website with javascript, I want to differ between the upload of a new file and the delete of a file to change some other fields value.

I already tried "change" and "edit" but without success: this.getValue()) and getControl(...).getValue() of the control have always an empty list "[]".

thank you, Helmut

PHPRunner 10.6 Build 38243

Sergey Kornilov admin 3/3/2022

We do not have Javascript events related to file upload. You can use regular PHP events like BeforeEdit and AfterEdit for this purpose though.