[web2py] Re: best advice on customer/client picklist popup.

2016-01-21 Thread mrsalice Kolonga
hi -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To uns

[web2py] Re: best advice on customer/client picklist popup.

2016-01-18 Thread lucas
i did a hybrid of the two suggestions, using the current framework. but i did not use the popup option cuz it is just a bit too much. i create a new row in a form table using jQuery. in an text input field i have an onkeyup that points to some javascript that ajax a partial result set from th

[web2py] Re: best advice on customer/client picklist popup.

2016-01-18 Thread Val K
Hi Lucas! I had similar problem and here is my solution: For search I use SQLFORM.grid with buttons (button per row) having data-attributes, for example, in your case attrs may be: data-client_id, data-client_name with corresponding values Then I use LOAD() with ajax_trap=True to embed SQL

[web2py] Re: best advice on customer/client picklist popup.

2016-01-17 Thread 'DenesL' via web2py-users
How about using an autocomplete? http://web2py.com/books/default/chapter/29/07/forms-and-validators#Autocomplete-widget Denes On Sunday, January 17, 2016 at 9:54:32 AM UTC-5, lucas wrote: > > oh, i forgot to mention, that i know how to do an ajax query and pass post > variable to it using web2py

[web2py] Re: best advice on customer/client picklist popup.

2016-01-17 Thread lucas
oh, i forgot to mention, that i know how to do an ajax query and pass post variable to it using web2py. i don't know the best javascript/jQuery method for creating and displaying the proper HTML code and inputs/buttons/and such, and then pass the result back to the main parent page. -- Resou