Skip to main content
Participant
November 29, 2016
Question

I want the default values in a form set to not printing.

  • November 29, 2016
  • 1 reply
  • 333 views

I want the default values in a form set to not printing. That way if users want to fill out the form with pen, they can simply print it.

How should I do this?

Thanks! Martine

This topic has been closed for replies.

1 reply

Joel Geraci
Community Expert
Community Expert
November 29, 2016

Add this to the Custom Format Script. It will change the field printing property when the user enters data or the form is reset. But be sure to reset the form before distributing.

if (event.target.value == event.target.defaultValue) {

    event.target.display = display.noPrint;

}

else {

    event.target.display = display.visible;

}