The issue has something to do with web2py. In 1.99.7 jQuery 1.7.1 jQuery UI 1.8.20
... the date and auto complete field do work: <input type="text" value="" name="birthday" id="no_table_birthday" class="date hasDatepicker"> <input id="no_table_locality" class="string ui-autocomplete-input" type="text" value="" name="locality" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true"> In 2.0.6 jQuery 1.7.1 jQuery UI 1.8.20 ... (same code, different web2py version) the date and autocomplete field do not work when they are in the same form. <input type="text" value="" name="birthday" id="no_table_birthday" class="date input-xlarge hasDatepicker"> <input type="text" value="" name="locality" id="no_table_locality" class="input-xlarge string"> I have no idea why. Kind regards, Annet On Tuesday, 4 September 2012 06:43:28 UTC+2, Annet wrote: > > > Version of jQuery bundled with web2py welcome app has changed between >> 1.99.x and 2.0.x, so if you're upgrading your existing app in any way, this >> might be a factor too. >> > > Thanks for your reply, you're right I had to update jQuery UI form 1.8.20 > to 1.8..23 to fix the issue. > > I am having another issue with jQuery UI. When a form contains both a date > and an autocomplete field the calendar breaks the autocomplete, i.e. none > of the autocomplete fields are rendered as autocomplete: > > <input type="text" value="" name="locality" id="no_table_locality" > class="input-xlarge string"> > > ... where I expect: > > <input type="text" value="" name="locality" id="no_table_locality" > class="input-xlarge string ui-autocomplete-input" autocomplete="off" > role="textbox" aria-autocomplete="list" aria-haspopup="true"> > > > I know this is not related to web2py, but maybe you know whether there's a > fix for this issue. > > > Kind regards, > > Annet > > --