Either directly in layout.html or in a JS file loaded into every page, 
include the code that checks for enter key presses in input fields (use the 
$('input') jQuery selector to find all input fields on the page).

Anthony

On Monday, August 20, 2012 8:56:18 AM UTC-4, max wrote:
>
> hi anthony, i can include the change in the views/xyz.html , but how cupld 
> i set it globally  for all the forms?
>
>
> Am Montag, 13. August 2012 15:50:25 UTC+2 schrieb max:
>>
>> thank anthony.
>>
>> Am Montag, 13. August 2012 15:30:24 UTC+2 schrieb Anthony:
>>>
>>> On Monday, August 13, 2012 9:24:13 AM UTC-4, max wrote:
>>>>
>>>> I want to add the enter key instead of tab keys to the forms.
>>>> is it possible to intergrate into web2py.
>>>>
>>>
>>> Sure, but this has to be handled on the client side via Javascript. 
>>> Here's one solution: http://thinksimply.com/blog/jquery-enter-tab.
>>>
>>> Anthony 
>>>
>>

-- 



Reply via email to