FormCalc or Javascript for radio buttons?


i need write script uses radiobuttons.

 

if radiobutton selected (my radiobuttion called rbjanuary) textbox1 = textbox2.

 

how write , should in formcalc or javascript? thanks!

hi,

 

it doesn't matter language use request, work in both while formcalc has slimmer syntax.

 

formcalc:

if ($ eq 1)           textfield1 = textfield2 else           textfield1 = "" endif 

 

javascript:

if (this.rawvalue === "1") {           textfield1.rawvalue = textfield2.rawvalue; } else {           textfield1.rawvalue = ""; } 


More discussions in LiveCycle Designer


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support