lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV numbered form inputs and popup options


From: Laura Eaves
Subject: Re: LYNX-DEV numbered form inputs and popup options
Date: Sun, 27 Apr 1997 17:27:34 -0400 (EDT)

Ok, thanks for the comments and patches...
The last files I posted for the "numbered form fields" patch
last night had a few bugs.  I've made the following updates:

* fixed handling of the new keypad mode and how it affects unrelated code
  (I'm sure there are other dependencies, but this is just a trial patch.)
* fixed printlist() in LYLists.c (and HText_childNumber() in GridText.c) so
  printing a reference list won't crash when form fields are numbered
* added Fote's fix to handle ^G and ^C commands in popup menus
* added Klaus' fix of the 123g command

There is a new README, zip and diff file at http://www.intac.com/~leaves/.

Excerpt from README describing the patch for those on lynx-learners:

> The following patch adds link numbers to form input fields and id numbers
> to options in popup menus when 
> keypad_mode==LINKS_AND_FORM_FIELDS_ARE_NUMBERED.
> 
> Description:
> All the following is enabled when
> keypad_mode == LINKS_AND_FORM_FIELDS_ARE_NUMBERED.
> 1) Link numbers are added for all form input fields
>    EXCEPT for type=hidden, type=file and type=range.  (The only reason I 
> didn't
>    add them for type==file or range is that I couldn't find documentation
>    on these types and don't have an example to test.)
> 2) If the user types a number that happens to identify a form input field,
>    the command behaves just like Klaus's 123g command, repositioning the
>    current link and possibly moving to a different page.  (For form input
>    fields, the g is optional.)
>    (I know, this is ugly, but it is a first cut and can always be changed.)
> 3) For popup menus, a link number is generated for the option list,
>    and then for each option, an option number is generated in parentheses.
>    So, an option list field looks like
>       [123][(1)  Banana Split___]
>    When the popup menu is activated, the user can then type the number
>    of the option to select it.
> 
> I tested this stuff on http://www.voicenet.com/~leaves/file.html
> and on the webtechs validator page, which has checkboxes, radio buttons
> and text input fields.
> 
> I also tested it when using the -popup command line option
> and using the * (image links) toggle.
> So far it seems to work.
> 
> If anyone wants to try it, I'm putting the relevant links in
> http://www.intac.com/~leaves/
> 
> This code is based on lynx2.7.1ac-0.12.
> 
> -------
> 
> Comments/feedback welcome.
> If speech users on the list would like to try it, I'd be interested in knowing
> if they think it's helpful.
> --le

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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