Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("form").on("submit", function()
- {
- var chk1 = $('input[name="urunaciklamaanlatim"]:checked').length;
- chk2 = $('input[name="sizinleiletisim"]:checked').length;
- chk3 = $('input[name="urunzamanteslim"]:checked').length;
- chk4 = $('input[name="sozlerintutulmasi"]:checked').length;
- chk5 = $('input[name="geneldegerlendir"]:checked').length;
- if (chk1 <= 0)
- {
- // hata verdir.
- }
- if (chk2 <= 0)
- {
- // hata verdir.
- }
- if (chk3 <= 0)
- {
- // hata verdir.
- }
- if (chk4 <= 0)
- {
- // hata verdir.
- }
- if (chk5 <= 0)
- {
- // hata verdir.
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement