Stefan Walkner
2015-05-04 12:13:36 UTC
Hello,
I have been searching around the forum, bottle documentation, etc but I
couldn't find a hint for the problem I have:
I have a form which is represented in a html table as a row (tr).
I have some jquery functionality to add and delete rows.
When I submit the form (all rows) I use
'request.POST.getlist("field-name")' to retrieve every rows value.
The problem is: I'd like to be able to do validation on the form and just
display the same form again. This functionality is also needed, when
editing an already persisted set of values.
Can someone please give me a hint how I can achieve that?
Thank you in advance
--
I have been searching around the forum, bottle documentation, etc but I
couldn't find a hint for the problem I have:
I have a form which is represented in a html table as a row (tr).
I have some jquery functionality to add and delete rows.
When I submit the form (all rows) I use
'request.POST.getlist("field-name")' to retrieve every rows value.
The problem is: I'd like to be able to do validation on the form and just
display the same form again. This functionality is also needed, when
editing an already persisted set of values.
Can someone please give me a hint how I can achieve that?
Thank you in advance
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.