[web2py] Re: One database field, two form fields? From seconds to min:sec

2013-02-09 Thread Michael Haas
Hello all, I decided to tackle this with the first implementation I saw in the documentation. I insert two custom fields, remove the f_measure field from the form and use the SQLForm without Database IO code from the book to process the form. Here's my (somewhat ugly) code, hopefully it will

[web2py] Re: One database field, two form fields? From seconds to min:sec

2013-02-09 Thread Michael Haas
I accidentally hit sent while still editing the code formatting. Oh well, it should be obvious how it works. I still feel a custom widget with a validator doing the value calculation would be nicer, but I'm not sure if that's possible. Kind regards, Michael -- --- You received this