You might try this one too: http://web2pyslices.com/main/slices/take_slice/8
On Jun 16, 5:01 am, David Mitchell <[email protected]> wrote: > Thanks GoldenTiger, > > Looks likehttp://www.web2pyslices.com/main/slices/take_slice/85addresses > my 1st requirement, > andhttp://www.web2pyslices.com/main/slices/take_slice/86addresses my 2nd > requirement. Still looking for solutions to the other two, but these get me > off to a flying start! > > Regards > > Dave M. > > On 16 June 2010 12:45, GoldenTiger <[email protected]> wrote: > > > > >http://www.web2pyslices.comis usefull for me > > > On 15 jun, 23:48, David Mitchell <[email protected]> wrote: > > > Hello all, > > > > I've got a bunch of AJAX pages to create, with tasks like: > > > - pick a selection from a drop-down list > > > - based on that selection, populate another drop-down list > > > > - start typing in a text field > > > - with each character typed, do a search in a DB table for fields > > matching > > > the string typed and display options for selection > > > > (not quite AJAX, but close) > > > - enter a date in a date field > > > - constrain other date fields on the same form so that they must be > > either > > > before or after the first-entered date > > > > - allow someone to enter a long random string into a field, or press a > > > "Generate random string" button to have the string populated with > > suitable > > > random characters > > > > Is there anything like an "AJAX recipes" page for web2py out there? > > > Googling didn't come up with anything useful, but I thought some of > > these > > > are pretty common tasks and someone may have gathered code samples > > together > > > to demonstrate how it is done in web2py. > > > > Thanks and regards > > > > Dave M.

