[web2py] Re: lose focus events in form fields

2018-09-27 Thread Donald McClymont
There is some example script here which may help with the idea - both a setup for countries and subdivisions with Ajax and also a couple of range controls for urgency and importance where I then backfill the values into form fields for the actual values. As far as I am aware web2py does not

[web2py] Re: lose focus events in form fields

2018-09-27 Thread Dave S
On Thursday, September 27, 2018 at 5:28:50 AM UTC-7, Rahul wrote: > > Hey All, > This is essential - I can do what Donald has said but I want to > do it at runtime. > Why would you not consider jQuery to be "at runtime"? He mentioned it in the context of setting the focus events,

[web2py] Re: lose focus events in form fields

2018-09-27 Thread Dave S
On Thursday, September 27, 2018 at 5:28:50 AM UTC-7, Rahul wrote: > > Hey All, > This is essential - I can do what Donald has said but I want to > do it at runtime. It would also be helpful when I try to implement say for > example select a country from drop down and then populate

[web2py] Re: lose focus events in form fields

2018-09-27 Thread Rahul
Hey All, This is essential - I can do what Donald has said but I want to do it at runtime. It would also be helpful when I try to implement say for example select a country from drop down and then populate states as per the country selected in another dropdown. may more use cases like

[web2py] Re: lose focus events in form fields

2018-09-26 Thread Dave S
On Wednesday, September 26, 2018 at 10:43:31 AM UTC-7, Donald McClymont wrote: > > Hi Rahul > > You could just do this with Jquery as events that run when any of the 3 > fields are exited however I am not convinced that's really a great approach > - I haven't seen an example of doing this as

[web2py] Re: lose focus events in form fields

2018-09-26 Thread Donald McClymont
Hi Rahul You could just do this with Jquery as events that run when any of the 3 fields are exited however I am not convinced that's really a great approach - I haven't seen an example of doing this as part of the actual SQLFORM. Another question would be do you really need to concatenate