Expand my Community achievements bar.

Print only checked

Avatar

Former Community Member
Is there a way to set a group of checkboxes up so that it will only print the selected ones?
6 Replies

Avatar

Former Community Member
Not without writing script. You would have to change the presence property of the checkbox initially to be on screen only (-print) and then when the user clicks the checkbox check to see that it has been checked and change the presence to +print.

Avatar

Former Community Member
that makes sense. what is the event for checking a checkbox called. would that be the initialize event?

Avatar

Former Community Member
I scripted this code and put it under the prePrint event in the show scripts list. It will only print when checked now, but it leaves the screen after that event occurs. Any ideas?



if(checkbox1.rawValue == 0){

checkbox1.relevant="-print";

}

else{checkbox1.relevant="+print";

}

Avatar

Former Community Member
You can set the presence back to visible in the postprint event.

Avatar

Former Community Member
excellent. it works. thanks. Any ideas on why when i have more than one page, and i hide the subforms on thefirst page, the sub forms on second page don't move to the first to shrink the size of the form? or ideas on how to do that?

Avatar

Former Community Member
Hi Brian,

You have to use flowed layout on the top of your first and second form, so when you make first form hidden, second will be go up.

Hope helps,

In case of more support, you can email me.



asiyegunaydin@kgc.com.tr



Asiye