[web2py] Re: Displaying textfield information with ajax() function in different pages

2018-12-29 Thread mostwanted
I have changed my controller abit according to your advice *CODE:* def echo(): session.name=request.vars.name return 'Welcome, ', session.name & in view 2 and other views i simply add {{=session.name}} and i get what I want, it works & i hope the semantics of how i used session are ok

[web2py] Displaying textfield information with ajax() function in different pages

2018-12-29 Thread Val K
There is the 'session' that is storage for common needs like this, so you can session.user_name = request.vars.name in the first controller and then use it in other to retrieve user_name -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Displaying textfield information with ajax() function in different pages

2018-12-29 Thread mostwanted
I have a textfield that takes a user's name but i dont want to save the user's name in a database table i just wanna be able to display it in all the pages as long as the user is going through the web pages they should see their name with the welcome message but what i have achieved so far is

Re: [web2py] Re: Show "count()" result in view

2018-12-29 Thread Jon Subscripted
Thanks guys. That's exactly what I needed. Sorry I was not able to fint it myself... Regards, Jon. On Sat, Dec 29, 2018 at 4:19 AM Anthony wrote: > See > http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Grouping-and-counting > . > > On Friday, December 28, 2018 at