Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Required Fields

Avatar

Level 1

How do I prevent someone from saving or printing a form unless all fields have been completed?

0 Replies

Avatar

Level 7

in your prePrint or preSave event do something like this


if(fieldsNotFilled)


{


    xfa.event.cancelAction = 1;


}


Avatar

Level 1

Thanks, but I can’t seem to find where I would put the code in.

Avatar

Level 7

Here is a trivial example. Note the use of JavaScript as the language

688739_pastedImage_0.png