Replace hidden fields with 'ajaxForm' option
Refactoring of form creation
Add validation
Implement form validation
Pass concrete form to building code
Use form (with validation) to update existent values