Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By geraldine123
#814861
Good day,
I have some issues about clearing the uploaded file using the processmaker file-control.
First, I tried the http://wiki.processmaker.com/3.1/File_c ... _controls . It really clears the file and the value of the file-control but it loses it required function when clicking a submit button.
Second, I also tried to use the $("#file-id").clear(); then it resets the value of the file but after executing the said syntax the file-control is no longer functional. The events like click and change is no longer working.

Is there any solution for this issue?

Thank you
User avatar
By amosbatto
#814887
What version of PM are you using? You should use a MultipleFile field (which is called "uploadfile" in the interface) instead of the File field. In the future, the File field is going to be eliminated because there are so many problems with it.

You can try restoring the required property with enableValidation().

🚀 Tauchen Sie mit Immediate Alora AI in die Welt d[…]

Do you want a quick way to delete passwords from P[…]

Try the CloudMigration PST Converter to convert […]

In the rapidly evolving world of online sports be[…]