Modified Add new Detail type. Implemented it with CI Form_helper & Form_validation . jQuery works too.