form validation on edit mode - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12) +--- Thread: form validation on edit mode (/showthread.php?tid=66593) |
form validation on edit mode - rupamhazra - 11-09-2016 Hi, I am developing a CRUD functionality where three fields (name,email,pic).In edit mode data is coming right way but whenever i delete the data from email field and press the submit button shows the valid message its right but data is coming to email filed instead of blank the filed. RE: form validation on edit mode - fakhrawy - 11-28-2016 Hi man, always to get help make your question clear and put simple from our code thanks RE: form validation on edit mode - InsiteFX - 11-28-2016 You need an edit flag to pass in then set your rules in an if statement. |