[web2py] Re: requires IS_IN_DB multiple and zero

2019-05-25 Thread 'jim kaubisch' via web2py-users
Hi and thanks for the suggestions - You seem to be saying: single - the user should click on "select one" to NOT select ANY - when it's normal semantics is to force the user to selects one? multiple - if 10 things are selected and you want to unselect 1, you need to

[web2py] Web2py: Update table content after submit action

2019-05-25 Thread Cristina Sig
I have a table filled with records from a database. Also, I have a button to add a new record. Once I enter all the data for the new record and press the submit button, I want to update the content of the table without reloading the page (without F5). I'm struggling to find a solution to

[web2py] Re: requires IS_IN_DB multiple and zero

2019-05-25 Thread villas
*Multiple = False* IS_IN_SET(['a', 'b', 'c'], zero=T('choose one')) To unselect, click 'choose one' instead of whatever was selected. *Multiple = True* Unselect/remove everything which was previously selected. ...then submit the form. On Saturday, 25 May 2019 01:32:23 UTC+1, jim kaubisch