var a =document.forms.fname.value
alert("the field type is a text") //working fine
alert("the field type is select one") //working fine
alert("the field type is select multiple") //working fine
alert("the field type is radio") //this is not working fine
I think for radio type,checkbox i should check as
but i don't how to check with my code
Could anyone say how to check for the field type for radio button or could anyone say how to check if the field type is a single /multiple
Thanks in advance
Last edited by paula j; 03-02-2006 at 11:33 PM.
I dont think that you can check if a radio button is a singular or belongs to a group, unless you maybe compared the name value of each, and if they are the same check that one of them is selected. But I don't really understand your question, is English your mother language?
Hi, I know that this post is a little old as we are in 2014 :-), but I was wondering how can I get the value of a computed text field in java script?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)