How Form Processor Pro 4.0 Interacts with Web Forms
Scheme on Fig. 1 will help you to understand the way data streams are processed by Form Processor Pro 4.0 the purpose and place of mentioned in this help configuration files and templates as well.
So this is the way Form Processor Pro manages simple form:
- Initialization.
Being invoked by user data submission (when web surfer presses submit button), Form Processor Pro 4.0 initializes itself, loads Basic Configuration File with its preferences.
- Input Data Processing.
Initially, Form Processor Pro looks in the submitted data whether it contains basic variables to be overwritten, principally base_path. Afterward, it processes Local Form Configuration File to load the rules for further data processing.
Submitted data is checked for compliance with form field types and generates detailed error message if check fails or incompliant data.
Submitted data is parsed as to field types rules (trim spaces etc.), processed calculations and function calls. Data becomes parsed and processed.
- Output Processing.
According to variables and their values set in Local Form Configuration File processed data result is either output to web browser or sent by e-mail and written down to log file or both.
Fig. 1. Form Processor Pro 4.0 processes submitted data.
NOTE: Fig. 1. doesn't describe error processing which is similar to parsed and processed data output.
|
|