You cannot stop anyone saving a document - it is the "will save" method...
Similarly you cannot stop anyone printing.
thanks, that is what i was afraid of.
What you can do, though is reset the form, or display some large warning field, or something like that.
so, set the script to completely reset the fields if one isnt populated?
hmm, that might do the trick! thanks!!
It seems a bit of a harsh punishment. I don't think that form would win any prizes for usability.
it does, and it is hard enough teaching these old dogs new tricks yet at the same time making a form upper management wants and will enforce.
right now, the form is pretty and user friendly, except for the bright red borders that wont go away around the required fields.
just trying to find a good way to make sure the user fills out the form completely.(its a test report for electrical equipment so everything must be completed for safety reasons).
One way, as reply#3 mentioned, is a warning.
Suppose you have a big red FORM INCOMPLETE message, which is very obvious (but not in the way of form filling). Hide it when it is complete.
A thing that is often overlooked about saving is that people want/need to do it for their own purposes, not yours. If they start a form and something else comes up, they might need to save the incomplete form for completing later. Again, you win no prizes for usability if you stop this.
The real solution is to have forms submitted, rather than saved to somewhere, an ad hoc process which it is very easy for users to get wrong (e.g. save to wrong place, save over their last form, whatever).
the problem is, the form is a test report for electrical equipment. so it has to be filled completely and accurately, for safety and legal reasons. then, the pdf is attached as a multimedia file to a sales order and kept in our records. an electronic and physical copy of the sales order and pdf file is then given to the customer. so, the final version needs to be clean, complete, and without the crazy required field borders, and the final version has to be made to where no one, not even the user who completed it, can change it, hence, i need to convert it to read only once it is completed. i do like the form incomplete idea you had. is there a way i can trigger it to hide when all of the fields have been filled out?
maybe remove the current script, make the borders red by default, then turn invisible once the field has been completed...
You're just describing more and more reasons why the form should be submitted, not emailed.
i know, unfortunately i'm not high enough on the totem pole to make that decision no matter the pros and cons.
unfortunately, i know very little about java, having to learn from trial and error.
had to do the same with html, but i can now write that in my sleep lol.