On Thu, Jan 6, 2011 at 8:45 PM, Dexter <[email protected]> wrote: > > > On Jan 7, 12:12 am, Branko Vukelić <[email protected]> wrote: >> What HTML does the button element create? >> >> It should be ``<button type="submit">Create</button>``, otherwise it's a bug. >> > All by itself it button does not create any type ie. > form.Button('Create') > > However with the above mentioned type ="submit" > form.Button('Create',type ="submit") > > the button shows a submit type ... unfortunately it does not work ... > even then either :( by the way I am using this on appengine if that > helps
Does it show you the <button type="submit">Create</button> when it's rendered? It should work like this: http://jsfiddle.net/6Pd9F/ Also, you _must_ enclose the rendered form in <form> tags yourself as those are not rendered for you. -- Branko Vukelic [email protected] http://www.brankovukelic.com/ -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
