I need your expertise with an AppSheet formula to validate that an uploaded file is in the '.txt' format. I've tried several formulas, but none have provided the desired result:
Unfortunately, these formulas are not working as expected. Any guidance would be greatly appreciated. Thank you in advance!
I believe that is currently not possible natively within AppSheet. I believe one reason that the valid_if does not work is that the AppSheet given file name is formed after the record is saved. This means within the form the file name is not available for validation.
There could be some not so user friendly workarounds such as described in the post thread below
Restricting uploaded file type - Google Cloud Community
I could also suggest another workaround but that will be after the form is saved and overall configuration may not be ideal for user experience. Please let me know and I can share the approach.
User | Count |
---|---|
15 | |
15 | |
8 | |
7 | |
4 |