Collect several parameters and a signature using mobile devices
An individual with a mobile device Android, iOS, Windows 8 should be able to submit several fields with either pre-filled information or freehand entries and using device as a signature pad collect number of signatures, using either finger or stylus. Form fields must be entered into the database and signatures must be transferred to the server as an images (PNG).
Initial data comes as a Perl hash. Form prototype (PSD layout and HTML structure), JS validation and CSS files are provided. Submitted data must be verified in the browser and then on the server with safe fail fallback.
What we need:
JS code that allows to collect information.
Perl code that allows to insert(update) information in MySQL (DB structure is provided) and stores the signatures.
Perl sub that processes submitted data and provides it as a pre-designed hash with some grouping (i.e. total amount of hours for several records entered).
Create new record and signature file
Retrieve previously submitted records and signature files for editing or confirmation
Update record and signature file