Expand my Community achievements bar.

Hide check boxes prior to emailing

Avatar

Former Community Member

Hi,

I am sure there is a simple answer to my question but I cannot fathom it out at the moment.

I have a subform with 15 check boxes to select email receipients + a regular button to then email. what i want to do is hide the check boxes prior to clicking the button.

If I move the button outside the subform it doesn't work.

So any suggestions would be appreciated

1 Reply

Avatar

Level 1

Hi Sp215

I have found success doing something similar by adding this piece of javascript to the PrePrint event of a subform that has a checkbox:

if (this.rawValue == 0){

xfa.form.form1.yoursubform.yoursubform.presence = "hidden";}

Let me know if this is helpful!