Form validation error message not suport to lightbox - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Form validation error message not suport to lightbox (/showthread.php?tid=40588) |
Form validation error message not suport to lightbox - El Forum - 04-13-2011 [eluser]crimsun[/eluser] Hello Friends, I create one lightbox using jquery library Code: <!-- for lightbox shouts --> And the field inside the lightbox which is opened on click of button that are one inout box Code: <p><input type="text" name="title" id="title" value="<?php echo set_value('title');?>" ></p> <p><?php if(form_error('title')) echo form_error('title'); ?></p> And this is my controller code from where i can use validation Code: $this->form_validation->set_rules('title','lang:title_val','required|trim|xss_clean|min_length[8]'); so please let me know is this form_validation library is not applicable to lightbox ... Is anyone having a proper working lightbox code so please provide me... Thanks in Advance |