I solved it already using sqlform factory then if form accepted do the
loops...
and thanks for your help
On Tuesday, September 27, 2016 at 5:48:14 AM UTC+3, Jim S wrote:
>
> You don't have to pass it. Just use the DAL to insert the records you
> need.
>
> What fields are you having the user e
You don't have to pass it. Just use the DAL to insert the records you
need.
What fields are you having the user enter data into when the form is
displayed?
You can just use SQLFORM.factory to gather them. Then in the 'if
form.process().accepted:' put the code to insert the records into the
data
Could be an issue with some reference field. Are you using a IS_IN_DB
validator in your model? could be that you are passing a wrong parameter to
the validator. But with so little info it is just a guess.
2016-09-26 15:21 GMT+02:00 Anthony :
> Hard to say what the problem is without seeing t
3 matches
Mail list logo