Hello web2py-users,  I am new to web2py framework. I have a question about 
the followings: 

Notice, if you create more inputs then the number your users will need (not 
> 3 records for instance) you get in trouble if you have not null requires or 
> IS_IN_DB or other validators)... So I use an other form to catch the number 
> of input the user is needing and I pass it buy the URL as a vars something 
> like that :
>
> URL(c='controller', f='bunch_func', vars=dict(nb_inputs=3))
>
> Then I use it in range function :
>
> for i in range(0, int(request.vars.nb_inputs))
>
 
Why not to have an option before validate the posted data to delete emtpy 
row - fields of the form and post only row - fields with no empty values ???
I have already try a lot of things but nothing is working. 
The batch input form is usefull and i think must be an easy way to do this.
The above solution (2 forms) is a solution but is not so practical for end 
user of batch input form.

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to