![]() |
Cloned Fields and Display Errors - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Cloned Fields and Display Errors (/showthread.php?tid=52500) |
Cloned Fields and Display Errors - El Forum - 06-13-2012 [eluser]Unknown[/eluser] I have a code to clone a div with 3 fields ( address, city and state ). When I submit the form, the user is redirected to a review info page. So a put a button saying "edit info" before I actually send the information, and I use the javascript "history.back" on this buttom to go back 1 history. But when I click on it, I just get the inital div but not the others cloned into the form. And when I send blank, when the form_validation show the errors my cloned inputs are gone and the validation only shows on the original fields. How can I keep this cloned fields ? How can I put the validation on this cloned fields ? Sorry for my bad English, I am from Brazil. |