diff --git a/2-ui/4-forms-controls/1-form-elements/article.md b/2-ui/4-forms-controls/1-form-elements/article.md index 03118e5c1..d6b5bec02 100644 --- a/2-ui/4-forms-controls/1-form-elements/article.md +++ b/2-ui/4-forms-controls/1-form-elements/article.md @@ -1,67 +1,66 @@ -# Form properties and methods +# Form özellikleri ve metodları -Forms and control elements, such as `` have a lot of special properties and events. +Formlar ve kontrol elemanları, `` gibi, birçok özel işleme ve özelliklere sahiptir. -Working with forms will be much more convenient when we learn them. +From elemanlarını öğrendiğimizde, formlarla çalışmak çok daha kolay olacaktır. -## Navigation: form and elements +## Navigasyon: form ve elemanları -Document forms are members of the special collection `document.forms`. +Form dökümanları özel bir dizi olan `document.forms` üyleridir. -That's a so-called "named collection": it's both named and ordered. We can use both the name or the number in the document to get the form. +Bu, "adlandırılmış koleksiyon" olarak adlandırılan bir durumdur: hem isimlendirilmiş hem de sıralanmıştır. Belgede forma ulaşmak için hem adı hem de numarasını kullanabiliriz. ```js no-beautify -document.forms.my - the form with name="my" -document.forms[0] - the first form in the document +document.forms.my; // "my" isimli form +document.forms[0]; // döküman içindeki ilk form ``` -When we have a form, then any element is available in the named collection `form.elements`. +Yeni bir form oluşturulduğunda içerisindeki bütün elemanlar `form.elements` isimli adlandırılmış koleksiyonda erişilebilir haldedir. -For instance: +Örneğin: ```html run height=40
``` -There may be multiple elements with the same name, that's often the case with radio buttons. +Formlarda aynı isme sahip birden fazla eleman olabilir. Böyle bir durumla daha çok radyo tipindeki input elemanlarında karşılaşırız. -In that case `form.elements[name]` is a collection, for instance: +Bu durumda `form.elements[name]` bir koleksiyon döner, örneğin: ```html run height=40 ``` -These navigation properties do not depend on the tag structure. All elements, no matter how deep they are in the form, are available in `form.elements`. +Bu navigasyon özellikleri etiket yapılarına bağlı değildir. Bütün elemanlar, formun neresinde olursa olsun, `form.elements` koleksiyonu içerisinde bulunur. +````smart header=""Alt formlar" olarak alan kümeleri" +Bir form bir veya birden fazla `