In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Relationship Graph View Issue ] Dependency Graph ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0001295 [In-Portal CMS] Front End refactoring N/A 2012-05-18 05:54 2012-07-25 05:30
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0001295: Improvements to FormManager JavaScript class
Description In In-Portal we've developed FormManager class, that is used to manage forms that are submitted and validated through ajax.

I wanted to share several improvements we've made to original version we've used quite a lot over last years:
* set error into a field before form is registered
* set form-specific template to be used in all ajax calls
* perform immediate validation for inputs on blur event, but for other controls (like radio buttons) in click event
* if event, called through AjaxFormHelper::transitEvent method requested a redirect to another page (e.g. by setting $event->redirect property), then automatically perform redirect
* watermarks were not removed when using immediate field validation
* watermark removal code (that was called before form submit) first removed watermarks and then restored them, but should be restoring original values in these fields
* error were not removed from form after it was closed by user (without submitting)
Additional Information

Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker