I’m using Softr with Airtable and Make.
I have a form with an upload widget and need the following:
- identify non image filetypes and provide an error back to the user
- if filename issues exist (e.g. someone just tried to upload a file something like “this is? image.jpg” and it choked on the ?
I can check for type in Make but I’m not sure how I’d get a message back to the user.
It would be much easier if the error checking and messaging could stay in Softr.
I see a feature request for limiting filetypes but not much on general error handling.
Is there a custom code way to go forward?
This would be a blocking issue as anytime it hits an error, the Make scenario dies.
Thanks
I was thinking that you could use a “Verify Information” button (Call API) that the user can press before submitting the request. The response could be saved in a database and displayed on your form, but you would need to refresh the screen. Just an idea that came to mind.
I appreciate the out of the box thinking! I’m not sure it would be the best user experience but I’m trying to look at all possible ways forward.
Error handling seems so basic and I’m surprised there doesn’t seem to be anything built in beyond required fields. I do see a feature request for file type validation and am surprised that’s not been done yet.
I found there is the Embed Block but my account is not currently paid and I can’t use it. But I’m thinking that might be the answer.
there’s also some very convoluted things I could do in Make that seem terribly wrong.
ChatGPT said i could add some code like this to the page footer custom code section. (This seems wrong. And I’m not sure it could be page specific)