Hello
I want to make an form for purchasing tickets. The problem is that for
every event there can be diferent types of ticket with diferent price.
For every kind of ticket I will have to create an edit box where user
can select how much tickets he wants.
Then in view class I will just display the dynamicly created form ...
the only problem that I see now is that I don't know where to save an
information for each ticket price so I can easy display it in the the
same row where the edit box is?
P.S. I'm also not sure how can I dynamicly create a form using
Django ... but this have to be easy ;)
P.S. Form have to be something like this:
--------------------------------------------------------
| Tiket Type | Price | How much? | Price |
--------------------------------------------------------
| Tiket Type Name | Price $1.00 | [ ] | Price... | [
tiketkind.id
= 1]
| Tiket Type Name | Price $2.00 | [ ] | Price... | [
tiketkind.id
= 12]
| Tiket Type Name | Price $3.00 | [ ] | Price... | [
tiketkind.id
= 18]
| Tiket Type Name | Price $4.00 | [ ] | Price... | [
tiketkind.id
= 21]
--------------------------------------------------------
| TOTAL PRICE: | ... |
--------------------------------------------------------
| Email: [ ] |
--------------------------------------------------------