From: Captain Paralytic on
On 16 Jun, 18:03, "david.karr" <davidmichaelk...(a)gmail.com> wrote:
> You might consider encapsulating the "legal" information into PDF and
> archiving that.  That would be a more reliable rendering of what "they
> saw", because PDF rendering is less variable between browsers.
I think more to the point is that PDFs are not rendered by browsers,
they are viewed through PDF viewers (e.g. Adobe Acrobat Reader)
From: MC on
If your looking for the answer,
I was able to duplicate the page the user views. I sent the innerHTML back
to the server and it duplicated several test pages PERFECTLY with form data.

This is great as we can snapshot what the user sees when they print. It may
not be perfect but its good enough. Consistent, is the legal requirement,
not perfection.

function printForm() {
sendArchivalCopy(document.documentElement.innerHTML);
window.print();
}

MC
PS using screenshots was never really considered.


From: Lasse Reichstein Nielsen on
"MC" <mica[removethis]@aisus.com> writes:

> If your looking for the answer,
> I was able to duplicate the page the user views. I sent the innerHTML back
> to the server and it duplicated several test pages PERFECTLY with form data.

The problem is that innerHTML is non-standard and doesn't work the same in
all browsers. In mine (Opera) it doesn't show the current value, but the
original value, of form controls.

/L
--
Lasse Reichstein Nielsen - lrn(a)hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
From: SAM on
MC a �crit :
> If your looking for the answer,
> I was able to duplicate the page the user views. I sent the innerHTML back
> to the server and it duplicated several test pages PERFECTLY with form data.
>
> This is great as we can snapshot what the user sees when they print.

When I print
I see nothing more at screen that is already displayed on the screen,
except the printer's dialog box.

> It may
> not be perfect but its good enough. Consistent, is the legal requirement,
> not perfection.
>
> function printForm() {
> sendArchivalCopy(document.documentElement.innerHTML);

it is what we say since ... houlala 30 posts ?

innerHTML doesn't work with tags input (and some others attributes)

Did you go to see my little demo about that ?

Once again, you can reasonably only get what is usual :
names of tags input and their values
sent by the form (or by JS function XMLHttpRequest if supported)

> window.print();

That doesn't work with my IE Mac

> }
>
> MC
> PS using screenshots was never really considered.

:-)

Dommage, j'aimais bien l'id�e.

Usually,
- the filed form is send to the server (submitted by user),
- the server send back an unmodifiable copy
(without fields, only the values)
- the user push a button to agree (a new submit)
- the server save the same copy
and send back a message : all was correct (or not ...)
et merci et � bient�t

--
sm


From: MC on
Sam,

We support IE and Firefox only. Since this is a business environment and not
consumer, we can dictate that. We also recommend IE7 as preferred since we
have several USB tools that have plugins to IE. We do try to validate W3C as
much as possible.

So Opera, Safari, etc are just not issues...out of over 2000 business users
we have there is not one Mac. The fact that the code is non-standard is a
non-issue.

MC
PS for the code to work, you need to finish out the sendArchive function
with ajax.