A sample demonstrating how to create user-defined validation functions for an upload script. In this example, we defined two validation rules:
Click the following button to upload.