Add setparamsresult at a FileField
As a user, when a add a file to the parametrization, I immediately want want to obtain result from that upload, for instance with a validation script that has run in the background and with a setparamsresult. This way my app can update based on the file.
At the moment, you first have to click a button with a text that says ‘upload’ for instance. However, this is not intuitive for users, since they just uploaded the file in the FileField.
Hi @marliesbuijs ,
If I understand you correctly, you want to have a trigger event take place right after filling a field (in your case specifically, when filling/uploading a file field)?
I doubt that this will fulfil your request, but just to be sure, there is a feature that allows users to have files be processed upon an upload, with the processed results then saved on a child entity. For more information on this, refer to this:
Hi @mslootweg,
Yes, I want to update my param, right after you upload a file in a FileField.
For instance, we want to let users upload a csv/excel file with each row containing a type of residential propery. Right after the upload, we want to run a function that reads the input, validates it and changes the params on the page.
I dont think the documentation you sent can help with this case, since we don’t (want to) have a file entity type.