|
Title: filebox + validType +onChange Post by: rezzonico on March 03, 2020, 12:54:49 AM Hi all,
I have a filebox where I test the filesize. Here the code: Code: {field:'uploadFile',title:'File',width:300,_uploadFile() is a function that upload the file to the server and starts after an onChange event. This means that the file is uploaded also if the maxFileSize test is no passed. How can I avoid this ? In other words I want to start the function _uploadFile() only if the maxFileSize test is passed. Thanks Miche Title: Re: filebox + validType +onChange Post by: jarry on March 06, 2020, 01:28:36 AM Please try this code.
Code: type:'filebox', Title: Re: filebox + validType +onChange Post by: rezzonico on March 06, 2020, 02:52:15 AM Thanks a lot !
Regards Miche |