Re: Question about POS

Dieter Simader <[email protected]> Mon, 22 May 2006 08:48:43 -0600 (MDT)
Newsgroups gmane.comp.web.sql-ledger.user
Message-ID <[email protected]>
On Mon, 22 May 2006 [email protected] wrote:
>
> Changing the variable nextsub=openinvoices to nextsub=add fixt the problem
> temporarly till the 1 or some times 2 sales, after what the sql-ledger
> reported me an error like:
>
> action= not definated ?

This happens if there is only one field and one button. This is a flaw in
html forms processing and has nothing to do with SQL-Ledger. In order for
the Enter key to work you have to tab to the button first.

Whenever possible I define the action in a hidden field so the Enter key
will perform the action but this is not always possible as there might be
additional buttons on screen. So, whenever there is a possibility that
such extra buttons are on screen defining the action would render other
actions useless because there would always be the defined action
processed regardless of the button pressed.

In order for the Enter key to work as expected on a form with one field
and one button I would have to add a dummy field but then we get the
question, "what is this for?"

I hope this clarifies it.

-- 
Dieter Simader    http://www.sql-ledger.com   (780) 472-8161
DWS Systems Inc.     Accounting Software       Fax: 478-5281
============ On a clear disk you can seek forever ==========



_______________________________________________
sql-ledger-users mailing list
sql-ledger-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/sql-ledger-users