javascript - How to display PHP CodeIgniter error validation if the form has error and display successfully submitted if it has no error

one text