[web2py] Re: Dynamic form with hidden fields

2012-10-31 Thread Massimo Di Pierro
It is you really want I can delete it but I'd rather not. lyn2py is right. This will help others. On Wednesday, 31 October 2012 02:38:35 UTC-5, Viliam Oršula wrote: > > Hmm... It doesn't work this way. I just deleted my question, not whole > conversation. If someone has permission for deleting c

[web2py] Re: Dynamic form with hidden fields

2012-10-31 Thread lyn2py
Your question will help others who are new to web2py :) On Wednesday, October 31, 2012 3:38:35 PM UTC+8, Viliam Oršula wrote: > > Hmm... It doesn't work this way. I just deleted my question, not whole > conversation. If someone has permission for deleting conversation, please > do so. > I'm sorr

[web2py] Re: Dynamic form with hidden fields

2012-10-31 Thread Viliam Oršula
Hmm... It doesn't work this way. I just deleted my question, not whole conversation. If someone has permission for deleting conversation, please do so. I'm sorry for my noobishness. I'm new here. Dňa streda, 31. októbra 2012 8:34:45 UTC+1 Viliam Oršula napísal(-a): > > I'm sorry to take your ti

[web2py] Re: Dynamic form with hidden fields

2012-10-31 Thread Viliam Oršula
I'm sorry to take your time. I found out, that field were not only hidden, but disabled too. That coused them not to send. Thank you for your suggestions anyway. I will delete this question, since it is useless. Dňa streda, 31. októbra 2012 4:10:46 UTC+1 lyn2py napísal(-a): > > Yes, the fields ar

[web2py] Re: Dynamic form with hidden fields

2012-10-30 Thread lyn2py
Yes, the fields are available in request.post_vars like Cliff said. Use {{=response.toolbar()}} in your views and look under "request" after you submit your form. On Tuesday, October 30, 2012 6:08:53 PM UTC+8, Viliam Oršula wrote: > > Hello, > I'm writing simple webpage for adding purchased item

[web2py] Re: Dynamic form with hidden fields

2012-10-30 Thread Cliff Kachinske
I think your hidden fields are actually there, in request.post_vars. Just print request.post_vars and look for them in the console. You can use an onvalidation function to add them to the form. Just make sure you validate them, too, as they are untrusted. If you're really paranoid, you could