• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Form validation error message not suport to lightbox

Hello Friends,

I create one lightbox using jquery library

<!--  for lightbox shouts -->
<link href="<?php echo base_url();?>templates/default/css/Assets/LightFace.css" rel="stylesheet" type="text/css">
document.id('shouts_now').addEvent('click',function() {
light = new LightFace.IFrame({ height:400, width:500, url: '<?php echo base_url();?>sample/post', title: 'Shouts!' }).addButton('Close', function()
<!--  shout light box ends -->

And the field inside the lightbox which is opened on click of button that are one inout box

<p>&lt;input type="text" name="title" id="title" value="&lt;?php echo set_value('title');?&gt;" &gt;&lt;/p> <p>&lt;?php if(form_error('title')) echo form_error('title'); ?&gt;</p>

And this is my controller code from where i can use validation


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.