tnyjos Posted November 11, 2009 Share Posted November 11, 2009 hai i need to add client side validation to my fiels which are selected in a forloop.the fields are auto incremented according to count.i need to add validation for a selected fields only my code is <? $i=0;?> <? foreach ($info as $link): ?> <DIV><INPUT type="checkbox" name="check<?=$i?>" onclick="show(this,<?=$i;?>);" id="check" ><a href="<? echo $link;?>"><? echo $link;?></a></DIV> <p id="container<?=$i?>" style="display:none"> Enter Tag <INPUT type="text" name="tag<?=$i?>" id="tag<?=$i?>" class="required"> </p> <INPUT type="hidden" name="url<?=$i?>" id="url<?=$i?>" value="<?=$link?>"> <? $i++;?> <? endforeach;?> Link to comment https://forums.phpfreaks.com/topic/181082-jquery-validation-in-codeigniter/ Share on other sites More sharing options...
trq Posted November 11, 2009 Share Posted November 11, 2009 i i need to add client side validation Then your question belongs in Javascript help. Link to comment https://forums.phpfreaks.com/topic/181082-jquery-validation-in-codeigniter/#findComment-955453 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.