How do I change an objects value type depending on a Y/N Radio button?


i have following code behind radio buttons:

 

form1645.page3.teecrosssubform.teecross::exit - (javascript, client)

if page3.teecrosssubform.teecross.rawvalue = "n" {

    xfa.page3.teecrosssubform.disruptfield.access = "open";

    xfa.page3.teecrosssubform.teecrosscc.access = "protected";

    }

else {

    xfa.page3.teecrosssubform.disruptfield.access = "protected";

    xfa.page3.teecrosssubform.teecrosscc.access = "open";

    }

 

note: based code on following information (which may wrong found nothing else on subject): http://forms.stefcameron.com/2010/03/08/disabling-all-fields-within-subform/

 

no matter radio button selected (y or n) fields "open" or "unprotected".

 

any appreciated!

hi,

 

i think som expression not correct.

 

xfa.page3.teecrosssubform.... should be xfa..form1645.page3.teecrosssubform...



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