Assure Dynamics has an example of how this can work. You can download it
here:http://http://assuredynamics.com/index.php/portfolio/changing-an-objects-presence-and-relevant-properties/They
also have posted many, many other examples of things that LiveCycle can
do. Good luck.