How to dynamically check/uncheck a check box


i wrote code create textbox , put x or empty behave checkbox.

            formapp = new aformapp();
            myfields = formapp.fields;
            myenumerator = myfields.getenumerator();
            while (myenumerator.movenext())
            {
                myfield = (ifield)myenumerator.current;
                if (myfield.name=="txt1testresults")
                            myfield.value = "x";
        }

this works text box in putting x it.

 

now im trying directly use check box , dynamically set checked or unchecked

 

so instead of myfield.value, there myfield.check or myfield.uncheck

 



More discussions in Acrobat SDK


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