Thank you, that did the trick.
Now however, I'm getting this traceback:
ERROR:root:Traceback (most recent call last):
File "/home/jim/.local/lib/python3.7/site-packages/py4web/core.py", line
543, in wrapper
ret = func(*func_args, **func_kwargs)
File "/home/jim/.local/lib/python3.7/site-packages/py4web/core.py", line
503, in wrapper
ret = func(*args, **kwargs)
File "apps/py4web_test/controllers/administration.py", line 27, in links
form = Form([Field('search', length=50)], formstyle=FormStyleBulma)
File "/home/jim/.local/lib/python3.7/site-packages/py4web/utils/form.py",
line 241, in __init__
(value, error) = field.validate(value, record_id)
TypeError: validate() takes 2 positional arguments but 3 were given
Controller code is exactly the same as above.
-Jim
On Tuesday, January 21, 2020 at 11:21:44 AM UTC-6, Val K wrote:
>
> Try method=... instead of methodS
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/064cc213-05da-4432-ae06-95315ee2ee43%40googlegroups.com.