Welcome Guest, Not a member yet? Register   Sign In
Using jquery for form validation in codeigniter
#4

[eluser]LuckyFella73[/eluser]
Do you get an error message when submitting the form or
is it just that nothing happens?

Looking at an jquery validate example here (sourcecode browser):
http://jquery.bassistance.de/validate/demo/

Your label tags are not set up right.

Should more look like this:
Code:
<p>
            <label for="age">Age(required, at least 1 character)</label>
            &lt;input id="age" name="age" class="required" minlength="1" /&gt;
        <p>


Messages In This Thread
Using jquery for form validation in codeigniter - by El Forum - 03-15-2011, 12:54 AM
Using jquery for form validation in codeigniter - by El Forum - 03-15-2011, 02:50 AM
Using jquery for form validation in codeigniter - by El Forum - 03-15-2011, 03:38 AM
Using jquery for form validation in codeigniter - by El Forum - 03-15-2011, 04:23 AM
Using jquery for form validation in codeigniter - by El Forum - 03-15-2011, 05:01 AM
Using jquery for form validation in codeigniter - by El Forum - 03-15-2011, 05:06 AM
Using jquery for form validation in codeigniter - by El Forum - 03-15-2011, 05:09 AM
Using jquery for form validation in codeigniter - by El Forum - 03-15-2011, 05:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB