Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Disabling the Print function because of blank required fields

Avatar

Level 2
The form created has required fields, if one or any of these fields is not answered I would like the 'Print' function disabled and a explanation popup for the users to see why. I noticed that the Email button won't work and a popup appears if any of these fields is left blank.

Any help?

Frank
7 Replies

Avatar

Level 2
Can I prevent the user from tabbing to the next field if the previous field is an 'required field' and no information is entered in this required field.

Frank

Avatar

Level 7
This would, I think, be considered very poor practice. The essence of

form design is to allow users to fill in forms in the order that they

want. You would be forbidding users from saying "I don't know that -

I'll come back later and fill the rest in now", which we can freely do

with paper form.



Aandi Inston

Avatar

Level 2
What I am actually trying to do is prevent the user from not completing all the required fields. What good are the 'required fields' if they can be left blank when submitting or printing.

Frank

Avatar

Level 7
Required fields should prevent submitting. They do not prevent the

user printing, because a user can print at any time. You cannot

selectively prevent printing at all (and what if a user wanted to

print out a partial form for discussion, evidence, or problem

reporting?) Adobe's programmers have clearly thought in terms of

enabling users, not restricting their experience. Right or wrong.



What you COULD do is have a printable but hidden field which says in

large letters that the form is incomplete, do not accept. Checking

scripts can hide the form from printing when conditions are met.



You could also wait to be notified of printing, and warn the user that

their printout is unacceptable.



Aandi Inston

Avatar

Level 2
Hi,

This sounds like exactly what I would like to do. Can you point me in the direction to get instructions for this procedure. I just want to be sure that the user understands the forms is not completed correctly.

Frank

Avatar

Level 7
I don't know what you can do with the LiveCycle Form Manager product

sorry. Is this actually about that product?



Aandi Inston