Hi everyone. a few question about forms: 1. why doesn't the datepicker appear when I use the sqlform.factory to generate input fields? 2. Other than customizing a view, is there a way to display radiobox options horizontally when using sqlform?
I'm stuck with this "internal error": ValueError: invalid literal for int() with base 10: '' Traceback (most recent call last): File "/home/rwn/Projects/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/home/rwn/Projects/web2py/applications/bbc_test/views/ appadmin.html", line 193, in <module> </p> File "/home/rwn/Projects/web2py/gluon/sqlhtml.py", line 1356, in __init__ r = A(field.represent(r), _href=str(href)) File "/home/rwn/Projects/web2py/gluon/dal.py", line 3322, in repr_ref def repr_ref(id, r=referenced, f=ff): return f(r, id) File "/home/rwn/Projects/web2py/gluon/dal.py", line 3291, in ff row=r(id) File "/home/rwn/Projects/web2py/gluon/dal.py", line 4243, in __call__ record = self._db(self.id == key).select(limitby=(0,1)).first() File "/home/rwn/Projects/web2py/gluon/dal.py", line 5009, in select return self.db._adapter.select(self.query,fields,attributes) File "/home/rwn/Projects/web2py/gluon/dal.py", line 1070, in select return self.parse(rows,self._colnames) File "/home/rwn/Projects/web2py/gluon/dal.py", line 1263, in parse colset[fieldname] = rid = Reference(value) ValueError: invalid literal for int() with base 10: '' Am using version 1.94.5.