CHAPTER 19

image

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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.