Re: How to create multiple 'submit' buttons using 'forms' package

2009-12-05 Thread Ken
Sorry for repeating what you said Shawn, but for some reason your reply wasn't showing up in my browser until after I had answered the question for myself. Thanks, Ken -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: How to create multiple 'submit' buttons using 'forms' package

2009-12-05 Thread Ken
Never mind, got it. the forms package merely provides the interior of the ; the markup, plus any submit buttons, are the responsibility of the template (or other code). Thanks, Ken On Dec 5, 8:55 pm, Ken wrote: > I have the following form, which displays

Re: How to create multiple 'submit' buttons using 'forms' package

2009-12-05 Thread Shawn Milochik
Ken, You just put the submit buttons in the HTML form as you would normally. The submit button isn't part of a Django Model or Form. It really doesn't make sense there; there's no data there. Shawn On Dec 5, 2009, at 9:55 PM, Ken wrote: > I have the

How to create multiple 'submit' buttons using 'forms' package

2009-12-05 Thread Ken
I have the following form, which displays nicely: class BuySellForm(forms.Form): symbol = forms.CharField() shares = forms.CharField() price = forms.CharField() However, I can't figure out how to get multiple 'submit' buttons to display (one 'buy' and the other 'sell'). Actually, I