jQuery Form Validation Tutorial

preview_player
Показать описание

jQuery + PHP Form Validation Tutorial

If you liked the video please like, comment and subscribe.

***

Рекомендации по теме
Комментарии
Автор

Maybe the best and easiest tutorial I've found- Thank you !

boraabee
Автор

наконец-то то, что надо. Большое спасибо

spanev
Автор

Nice video sir
#indianweb technology

IndianwebTechnology
Автор

can we use this plugin for multiple step form? if yes then how can we validate each step individually?

idrees
Автор

So nice simple tutorial dude. this was exactly what i wanted and your tutorial served me well. Keep it up

AmietMhaske
Автор

which is the best website for learning jquery? bro, link please.

DingDongGenZ
Автор

Thank you so much man. cant we also do it without booleans? then why?

Abh
Автор

Hi, good tutorial.

Still not clear to me how I can validate a dynamic form fields using jQuery validate (<script

Suppose I have a form like the following:

<form id="myform" action="" ...>
<input type="text" form-control" name="cauthor[]" id="cauthor1" value=""/>
....

<button type="button" class="clone btn btn-primary" value="Add">
....
<button type="submit" name="submit" value="submit">
...
</form>

As you can see I have a dynamic field (cauthor[]); So user can hit the Add button to create a new input field. Then after hitting the Add button my form will look like this:

<input type="text" form-control" name="cauthor[]" id="cauthor1" value=""/>
<input type="text" form-control" name="cauthor[]" id="cauthor1" value=""/>
<input type="text" form-control" name="cauthor[]" id="cauthor1" value=""/>

Now the question is? How to validate all the fields?


rules: {
'cauthor[]': {
required: true
}
},
messages: {
'cauthor[]': "Author name not informed! Please correct and try again."
}

});

It only validates the first one.

If you know how to handle the above, please reply.

Thanks a lot.

jonecir
Автор

good job....10/10
loved it. simple and easy

sdmj
Автор

thanxxx lot sir....m so hpyy....so good validation video

to improve javascript and jquery pls guide me

samadhansalgar
Автор

Hello sir please help me
How to add admit card download features or certificate verification features in website please help me suggested any video links pls help

beerendratravellingfiles
Автор

"Unable to get property 'length' of undefined or null reference.".. how to fix this? please help.

shaswat
Автор

Hi, I used your validation code, but everytime I click the submit button more than once, it does submit with errors. What could be the problem?

ndolocr
Автор

thanks for video
but there is a problem when the user enters a space in the input text
can you help me ??

MrRajaoui
Автор

indians are the best thank you so mutch

khadijaait-
Автор

bro source code link doesn't exist... from where can i download it ?

ehsanurrahman
Автор

Bhai zoom ker ke video banoo clear visibility नहीं he

anuragpanwar
Автор

thank you its really helped me thank you soo much

veerav
Автор

Can u give some generic code instead of targeting particular text field?

globalentertainment
Автор

it's useful thank u so much but the last command register the form doesn't work can u help me

imanzlourhi