Check if the file extensions of the attached files in the specified fields match the specified extensions.
This can be used to limit the attachment field to images or PDFs only. Only the filename will be checked; the contents of the file will not be reviewed.
When the action is executed, if there are files attached in the specified attachment field that do not have the required extension, an error message will appear in the field. If no files are attached to the specified field, it will not be checked.
Please note that the check occurs when the action is executed, not when the user adds the file to the Kintone page.
If the attached file in the specified fields does not match the required extensions, a list of corresponding field codes for those fields will be provided. If all attachments have the correct file extensions, the result will be an empty list.
Set Field, Allowed Extensions, and Error Message.
Select which field to check.
When selecting multiple fields, each of those fields will be checked individually.
Only the Attachment field can be selected.
This parameter does not accept fields that are inside tables.
If the attached file has this parameter’s extension, no error will occur.
Please do not place a period at the beginning of your input.
Multiple specifications can be provided using either line breaks or commas. For example, if you specify png, jpg, and gif, then test1.png, test2.jpg, and test3.gif are all permitted.
Uppercase and lowercase letters are treated the same; there is no distinction between them. For example, if you specify pdf, then the following files are all acceptable: test1.pdf, Test2.PDF, and TEST3.Pdf
Enter an error message to display if the attached file in the specified fields does not match the required extensions.
This action does not support krewSheet.
This action can only run on the “Edit Record” and the “New Record” pages. If you set it to run on other pages it will return an error.
The mobile view is not supported. This will not cause an error, but no verification will be performed.
The fields in the table are not supported.
The use of ‘no file extensions’ is not permitted.
Allowing extensions that contain spaces is not allowed.