Expand my Community achievements bar.

Mark radio button based on value of text field

Avatar

Level 3

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

2 Replies

Avatar

Level 3

ok, now i can explan it better with attached form.

first step: if i click in dropdownlist "a" and put in numeric field a number bigger than 99 the, checkbox should be marked and  second step: a textfield1 should be visible.

the first step works perfectly, you have already helped me, but the second doesnt work.

do u have any idea why?

thanks!!

Diana