Re: [web2py] Re: custom search

2019-04-29 Thread villas
Hi Andfae It seems you are using additional inputs to submit searches to a SQLFORM.grid search widget... 1. Do not wrap the new inputs inside a form, as you are adding them to an existing search form. 2. Add something like this as the last line in your *datainizioSrch * function

Re: [web2py] Re: custom search

2019-04-26 Thread andfae
Hello I will give you the codeok? This evening... Il ven 26 apr 2019, 12:31 Massimiliano ha scritto: > Is difficult to understand how you intend to trigger the search without > some infos. > Anyway just to give you an hint: > >

Re: [web2py] Re: custom search

2019-04-26 Thread Massimiliano
Is difficult to understand how you intend to trigger the search without some infos. Anyway just to give you an hint: jQuery("#your_custom_widget").closest('form').trigger('submit'); On Fri, Apr 26, 2019 at 12:22 PM Andrea Fae' wrote: > They are the standard buttons "Search" and "Reset". I'd

[web2py] Re: custom search

2019-04-26 Thread Andrea Fae'
They are the standard buttons "Search" and "Reset". I'd like from javascript in the html view to execute "Search" by code. Thank you Il giorno venerdì 26 aprile 2019 00:05:39 UTC+2, João Matos ha scritto: > > You don't have the standard buttons, but have a search button created by > you? > > >

[web2py] Re: custom search

2019-04-25 Thread João Matos
You don't have the standard buttons, but have a search button created by you? quinta-feira, 25 de Abril de 2019 às 15:21:41 UTC+1, Andrea Fae' escreveu: > > I create a custom search, so not standard field with "Search" and "reset" > button standard. How to click the button "Search"