lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev lynx -dump HTML form including values ?


From: Andreas Grosche
Subject: lynx-dev lynx -dump HTML form including values ?
Date: Tue, 26 Dec 2000 22:05:41 +0100 (MET)

When running lynx -dump on an HTML page containing a form, lynx will only
write empty fields, while it would display the default values without -dump.

A simple "test.html" page for demonstration,

<html>
<head><title>lynx -dump HTML form including values ?</title></head>
<body>
<form method="post" action="http://none.com";>
<input type="text" name="Test" value="Value">
<input type="submit" value="Confirm">
</form>
</body>
</html>

will display as follows when using "lynx test.html" (Lynx Version 2.8rel.2):

                                        lynx -dump HTML form including values ?

   Value_______________ Confirm


(Text entry field) Enter text.  Use UP or DOWN arrows or tab to move off.
            Enter text into the field by typing on the keyboard
    Ctrl-U to delete all text in field, [Backspace] to delete a character    

but "lynx -dump test.html" will only write this

   ____________________ Confirm
   

i.e. the value(s) will have disappeared and empty fields will be shown instead.

The same effect is observed when using the print function from within lynx.

Of course, one could redirect the terminal-mode output containing these values
by using e.g. "lynx test.html>vt100log", but this will include unwanted control
characters (unless there is a terminal type which is not using any of them ?),
which will add considerable complexity to any further processing of the output.

Is there any way to make "lynx -dump" create an output including the values ?

Thank you in advance for your replies...

Greetinx

Andreas Grosche <address@hidden>


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]