[jQuery] Re: Jquery Validate Problem on IE (Need Help)
I have the same problem without any $addMethod's. I saw some threads about comma problems but can't make it work too :( . Did you find any solution? On 14 Kasım, 10:24, serhat serhatsarika...@gmail.com wrote: I really need a solution soon can any one check my code? On 14 Kasım, 00:17, serhat serhatsarika...@gmail.com wrote: I also tried without $.validator.addMethod but still have the same problem... Any idea or fix for this validation script? Thx for any advise :) On 13 Kasým, 18:25, serhat serhatsarika...@gmail.com wrote: I have a form validation with Jquery+Jquery Validation Plugin. I tried all variations on my page but cant make it work on IE 6.0 , 7.0 or 8.0 but both Firefox and Chrome works great. The code is; $(document).ready(function() { $.validator.addMethod(kullanici, function (value, element) { return /^[a-zA-Z0-9]+$/.test(value); },Format); $.validator.addMethod(dogum, function (value, element) { return /^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/ ((19|[2-9]\d)\d {2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))| ((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]| [2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26]) 00$/.test(value); },Tarih formatý Gün/Ay/Yýl olmalýdýr); $.validator.addMethod(cep, function (value, element) { return /[0-9]{7}/.test(value); },Cep telefonu formatý yanlýþ); var validator = $(#Uyeolform).validate({ rules: { KULLANICI_ADI: { required: true, minlength: 6, maxlength: 20, kullanici: true }, SIFRE: { required: true, minlength: 6 }, V_SIFRE: { required: true, equalTo: #SIFRE }, GIZLI_SORU: required, GIZLI_SORUM: required, GIZLI_SORU_CEVAP: required, ADI: required, SOYADI: required, EMAIL: { required: true, email: true }, V_EMAIL: { required: true, equalTo: #EMAIL }, CEP_TEL1: required, CEP_TEL2: { required: true, cep: true }, DOGUM_TARIHI: { dogum: true, required: true }, SEHIR: required, SOZLESME: required }, messages: { KULLANICI_ADI: { required: Kullanýcý adýnýzý giriniz, minlength: jQuery.format(En az {0} karakter girebilirsiniz), maxlength: jQuery.format(En fazla {0} karakter girebilirsiniz), kullanici: Boþluk ve Türkçe karakter kullanýlmadan en az 6 karakter, }, SIFRE: { required: Þifrenizi giriniz, minlength: jQuery.format(En az {0} karakter girebilirsiniz) }, V_SIFRE: { required: Þifrenizi tekrar giriniz, equalTo: Þifreler uyumsuz }, GIZLI_SORU: Gizli sorunuzu seçiniz, GIZLI_SORUM: Kendi gizli sorunuzu yazýnýz veya varolanlardan birini seçiniz, GIZLI_SORU_CEVAP: Gizli sorunuzun cevabýný giriniz, ADI: Adýnýzý giriniz, SOYADI: Soyadýnýzý giriniz, EMAIL: { required: Email adresinizi giriniz, email: Lütfen geçerli bir email adresi giriniz }, V_EMAIL: { required: Email adresinizi tekrar giriniz, equalTo: Email adresleri uyumsuz }, CEP_TEL1: Lütfen operatör
[jQuery] Re: Jquery Validate Problem on IE (Need Help)+1
Sorry my friend, still wating for solution. Tried a lot but still have the same problem :( We will get a solution just wait for replies. On 15 Kasım, 13:13, debian debian...@gmail.com wrote: I have the same problem without any $addMethod's. I saw some threads about comma problems but can't make it work too :( . Did you find any solution? On 14 Kasım, 10:24, serhat serhatsarika...@gmail.com wrote: I really need a solution soon can any one check my code? On 14 Kasım, 00:17, serhat serhatsarika...@gmail.com wrote: I also tried without $.validator.addMethod but still have the same problem... Any idea or fix for this validation script? Thx for any advise :) On 13 Kasým, 18:25, serhat serhatsarika...@gmail.com wrote: I have a form validation with Jquery+Jquery Validation Plugin. I tried all variations on my page but cant make it work on IE 6.0 , 7.0 or 8.0 but both Firefox and Chrome works great. The code is; $(document).ready(function() { $.validator.addMethod(kullanici, function (value, element) { return /^[a-zA-Z0-9]+$/.test(value); },Format); $.validator.addMethod(dogum, function (value, element) { return /^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/ ((19|[2-9]\d)\d {2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))| ((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]| [2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26]) 00$/.test(value); },Tarih formatý Gün/Ay/Yýl olmalýdýr); $.validator.addMethod(cep, function (value, element) { return /[0-9]{7}/.test(value); },Cep telefonu formatý yanlýþ); var validator = $(#Uyeolform).validate({ rules: { KULLANICI_ADI: { required: true, minlength: 6, maxlength: 20, kullanici: true }, SIFRE: { required: true, minlength: 6 }, V_SIFRE: { required: true, equalTo: #SIFRE }, GIZLI_SORU: required, GIZLI_SORUM: required, GIZLI_SORU_CEVAP: required, ADI: required, SOYADI: required, EMAIL: { required: true, email: true }, V_EMAIL: { required: true, equalTo: #EMAIL }, CEP_TEL1: required, CEP_TEL2: { required: true, cep: true }, DOGUM_TARIHI: { dogum: true, required: true }, SEHIR: required, SOZLESME: required }, messages: { KULLANICI_ADI: { required: Kullanýcý adýnýzý giriniz, minlength: jQuery.format(En az {0} karakter girebilirsiniz), maxlength: jQuery.format(En fazla {0} karakter girebilirsiniz), kullanici: Boþluk ve Türkçe karakter kullanýlmadan en az 6 karakter, }, SIFRE: { required: Þifrenizi giriniz, minlength: jQuery.format(En az {0} karakter girebilirsiniz) }, V_SIFRE: { required: Þifrenizi tekrar giriniz, equalTo: Þifreler uyumsuz }, GIZLI_SORU: Gizli sorunuzu seçiniz, GIZLI_SORUM: Kendi gizli sorunuzu yazýnýz veya varolanlardan birini seçiniz, GIZLI_SORU_CEVAP: Gizli sorunuzun cevabýný giriniz, ADI: Adýnýzý giriniz, SOYADI: Soyadýnýzý giriniz, EMAIL: { required: Email adresinizi giriniz, email: Lütfen geçerli bir email adresi giriniz
[jQuery] Re: Jquery Validate Problem on IE (Solved)
- kullanici: Boşluk ve Türkçe karakter kullanılmadan en az 6 karakter, } * , * SIFRE: { - that comma makes the script crash. Thx Hasan Tayyar BESIK from http://groups.google.com.tr/group/jquery-turkish/browse_thread/thread/1a4968641fbe5e7b . On 15 Kasım, 17:51, serhat serhatsarika...@gmail.com wrote: Sorry my friend, still wating for solution. Tried a lot but still have the same problem :( We will get a solution just wait for replies. On 15 Kasım, 13:13, debian debian...@gmail.com wrote: I have the same problem without any $addMethod's. I saw some threads about comma problems but can't make it work too :( . Did you find any solution? On 14 Kasım, 10:24, serhat serhatsarika...@gmail.com wrote: I really need a solution soon can any one check my code? On 14 Kasım, 00:17, serhat serhatsarika...@gmail.com wrote: I also tried without $.validator.addMethod but still have the same problem... Any idea or fix for this validation script? Thx for any advise :) On 13 Kasým, 18:25, serhat serhatsarika...@gmail.com wrote: I have a form validation with Jquery+Jquery Validation Plugin. I tried all variations on my page but cant make it work on IE 6.0 , 7.0 or 8.0 but both Firefox and Chrome works great. The code is; $(document).ready(function() { $.validator.addMethod(kullanici, function (value, element) { return /^[a-zA-Z0-9]+$/.test(value); },Format); $.validator.addMethod(dogum, function (value, element) { return /^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/ ((19|[2-9]\d)\d {2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))| ((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]| [2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26]) 00$/.test(value); },Tarih formatý Gün/Ay/Yýl olmalýdýr); $.validator.addMethod(cep, function (value, element) { return /[0-9]{7}/.test(value); },Cep telefonu formatý yanlýþ); var validator = $(#Uyeolform).validate({ rules: { KULLANICI_ADI: { required: true, minlength: 6, maxlength: 20, kullanici: true }, SIFRE: { required: true, minlength: 6 }, V_SIFRE: { required: true, equalTo: #SIFRE }, GIZLI_SORU: required, GIZLI_SORUM: required, GIZLI_SORU_CEVAP: required, ADI: required, SOYADI: required, EMAIL: { required: true, email: true }, V_EMAIL: { required: true, equalTo: #EMAIL }, CEP_TEL1: required, CEP_TEL2: { required: true, cep: true }, DOGUM_TARIHI: { dogum: true, required: true }, SEHIR: required, SOZLESME: required }, messages: { KULLANICI_ADI: { required: Kullanýcý adýnýzý giriniz, minlength: jQuery.format(En az {0} karakter girebilirsiniz), maxlength: jQuery.format(En fazla {0} karakter girebilirsiniz), kullanici: Boþluk ve Türkçe karakter kullanýlmadan en az 6 karakter, }, SIFRE: { required: Þifrenizi giriniz, minlength: jQuery.format(En az {0} karakter girebilirsiniz) }, V_SIFRE: { required: Þifrenizi tekrar giriniz, equalTo: Þifreler uyumsuz },
[jQuery] Re: Jquery Validate Problem on IE (Need Help)
I really need a solution soon can any one check my code? On 14 Kasım, 00:17, serhat serhatsarika...@gmail.com wrote: I also tried without $.validator.addMethod but still have the same problem... Any idea or fix for this validation script? Thx for any advise :) On 13 Kasým, 18:25, serhat serhatsarika...@gmail.com wrote: I have a form validation with Jquery+Jquery Validation Plugin. I tried all variations on my page but cant make it work on IE 6.0 , 7.0 or 8.0 but both Firefox and Chrome works great. The code is; $(document).ready(function() { $.validator.addMethod(kullanici, function (value, element) { return /^[a-zA-Z0-9]+$/.test(value); },Format); $.validator.addMethod(dogum, function (value, element) { return /^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/ ((19|[2-9]\d)\d {2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))| ((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]| [2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26]) 00$/.test(value); },Tarih formatý Gün/Ay/Yýl olmalýdýr); $.validator.addMethod(cep, function (value, element) { return /[0-9]{7}/.test(value); },Cep telefonu formatý yanlýþ); var validator = $(#Uyeolform).validate({ rules: { KULLANICI_ADI: { required: true, minlength: 6, maxlength: 20, kullanici: true }, SIFRE: { required: true, minlength: 6 }, V_SIFRE: { required: true, equalTo: #SIFRE }, GIZLI_SORU: required, GIZLI_SORUM: required, GIZLI_SORU_CEVAP: required, ADI: required, SOYADI: required, EMAIL: { required: true, email: true }, V_EMAIL: { required: true, equalTo: #EMAIL }, CEP_TEL1: required, CEP_TEL2: { required: true, cep: true }, DOGUM_TARIHI: { dogum: true, required: true }, SEHIR: required, SOZLESME: required }, messages: { KULLANICI_ADI: { required: Kullanýcý adýnýzý giriniz, minlength: jQuery.format(En az {0} karakter girebilirsiniz), maxlength: jQuery.format(En fazla {0} karakter girebilirsiniz), kullanici: Boþluk ve Türkçe karakter kullanýlmadan en az 6 karakter, }, SIFRE: { required: Þifrenizi giriniz, minlength: jQuery.format(En az {0} karakter girebilirsiniz) }, V_SIFRE: { required: Þifrenizi tekrar giriniz, equalTo: Þifreler uyumsuz }, GIZLI_SORU: Gizli sorunuzu seçiniz, GIZLI_SORUM: Kendi gizli sorunuzu yazýnýz veya varolanlardan birini seçiniz, GIZLI_SORU_CEVAP: Gizli sorunuzun cevabýný giriniz, ADI: Adýnýzý giriniz, SOYADI: Soyadýnýzý giriniz, EMAIL: { required: Email adresinizi giriniz, email: Lütfen geçerli bir email adresi giriniz }, V_EMAIL: { required: Email adresinizi tekrar giriniz, equalTo: Email adresleri uyumsuz }, CEP_TEL1: Lütfen operatör numaranýzý seçiniz brbr, CEP_TEL2: { required: Lütfen cep telefonu numaranýzý giriniz brbr, cep: Lütfen cep telefonu numaranýzý doðru giriniz brbr }, DOGUM_TARIHI: {
[jQuery] Re: Jquery Validate Problem on IE
I also tried without $.validator.addMethod but still have the same problem... Any idea or fix for this validation script? Thx for any advise :) On 13 Kasım, 18:25, serhat serhatsarika...@gmail.com wrote: I have a form validation with Jquery+Jquery Validation Plugin. I tried all variations on my page but cant make it work on IE 6.0 , 7.0 or 8.0 but both Firefox and Chrome works great. The code is; $(document).ready(function() { $.validator.addMethod(kullanici, function (value, element) { return /^[a-zA-Z0-9]+$/.test(value); },Format); $.validator.addMethod(dogum, function (value, element) { return /^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/ ((19|[2-9]\d)\d {2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))| ((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]| [2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26]) 00$/.test(value); },Tarih formatı Gün/Ay/Yıl olmalıdır); $.validator.addMethod(cep, function (value, element) { return /[0-9]{7}/.test(value); },Cep telefonu formatı yanlış); var validator = $(#Uyeolform).validate({ rules: { KULLANICI_ADI: { required: true, minlength: 6, maxlength: 20, kullanici: true }, SIFRE: { required: true, minlength: 6 }, V_SIFRE: { required: true, equalTo: #SIFRE }, GIZLI_SORU: required, GIZLI_SORUM: required, GIZLI_SORU_CEVAP: required, ADI: required, SOYADI: required, EMAIL: { required: true, email: true }, V_EMAIL: { required: true, equalTo: #EMAIL }, CEP_TEL1: required, CEP_TEL2: { required: true, cep: true }, DOGUM_TARIHI: { dogum: true, required: true }, SEHIR: required, SOZLESME: required }, messages: { KULLANICI_ADI: { required: Kullanıcı adınızı giriniz, minlength: jQuery.format(En az {0} karakter girebilirsiniz), maxlength: jQuery.format(En fazla {0} karakter girebilirsiniz), kullanici: Boşluk ve Türkçe karakter kullanılmadan en az 6 karakter, }, SIFRE: { required: Şifrenizi giriniz, minlength: jQuery.format(En az {0} karakter girebilirsiniz) }, V_SIFRE: { required: Şifrenizi tekrar giriniz, equalTo: Şifreler uyumsuz }, GIZLI_SORU: Gizli sorunuzu seçiniz, GIZLI_SORUM: Kendi gizli sorunuzu yazınız veya varolanlardan birini seçiniz, GIZLI_SORU_CEVAP: Gizli sorunuzun cevabını giriniz, ADI: Adınızı giriniz, SOYADI: Soyadınızı giriniz, EMAIL: { required: Email adresinizi giriniz, email: Lütfen geçerli bir email adresi giriniz }, V_EMAIL: { required: Email adresinizi tekrar giriniz, equalTo: Email adresleri uyumsuz }, CEP_TEL1: Lütfen operatör numaranızı seçiniz brbr, CEP_TEL2: { required: Lütfen cep telefonu numaranızı giriniz brbr, cep: Lütfen cep telefonu numaranızı doğru giriniz brbr }, DOGUM_TARIHI: { dogum: Doğum tarihinizi giriniz (Gün/ Ay/Yıl), required: Doğum tarihinizi formatı Gün/ Ay/Yıl olmalıdır }, SEHIR: Lütfen
[jQuery] Re: JQuery validate problem
thanks a lot! On 10月6日, 下午8时45分, Jörn Zaefferer [EMAIL PROTECTED] wrote: Take a look at the instructions here:http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_compl... Jörn On Mon, Oct 6, 2008 at 10:50 AM, Bill [EMAIL PROTECTED] wrote: I have a problem.where i use the jqueyvalidateplugin for my project. I want to use thevalidatelike this: s:textfieldid=namename=userGroup.name/ but it does not work . i should make theidandnameproperty as same. or named theidas cname andnameis name if i use the struts2 framework and want to usenamelike xxx.yyy,what can i do to resolve this situation? 3x- 隐藏被引用文字 - - 显示引用的文字 -
[jQuery] Re: JQuery validate problem
Take a look at the instructions here: http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29 Jörn On Mon, Oct 6, 2008 at 10:50 AM, Bill [EMAIL PROTECTED] wrote: I have a problem.where i use the jquey validate plugin for my project. I want to use the validate like this: s:textfield id=name name=userGroup.name/ but it does not work . i should make the id and name property as same. or named the id as cname and name is name if i use the struts2 framework and want to use name like xxx.yyy,what can i do to resolve this situation? 3x