File Browse Validation

Browsers offer native functionality for selecting files to upload. APEX then provides the smarts to convert the incoming data into a BLOB ready for database storage with the File Browse item component.

A common request is to validate the file before the page is submitted—for instance, limiting uploadable file size. Doing so can prevent excess network traffic if the page is prevented from loading the file until it meets size and type requirements. There is no point validating something in the database when it can be done on the web page.

This chapter not only applies this practical example, but it helps you locate ...

Get Pro jQuery in Oracle Application Express now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.