First non-automated commit in ages

added functions for processing form elements
First commit in ages - added functions for processing form elements