Mark radio button based on value of text field

Avatar

Avatar

dfjalsdjflsadk

Avatar

dfjalsdjflsadk

dfjalsdjflsadk

25-11-2009

Hi All,

I have one textfield and one radio button.

if i type for example in textfield 100 the radio button should be marked if it's not 100 then it should be not marked.

I use this code in java scripts when i click on textfield, but it doesnt work. can anyone help me??

if (textField.rawValue = 100) {

radiobutton.rawValue = 1;

} else {

radiobutton.rawValue = 0;

}

Thank you in advance!!

Diana

View Entire Topic

Avatar

Avatar

xrum

Avatar

xrum

xrum

25-11-2009

put it on exit event

and it should be == 100 not = 100