You're right.... and wrong :)
Between <form> & </form>, an <input type="submit"> does submit the form it belongs to. An input, not a <a>.
Here, submit is in toolbar div, so outside the form. so you need to call the form externally. To do so, you need to give your form a name attribute, and the button needs to target it properly.
using beforetransition / aftertransition listener, you can deal with the show/hide of buttons in the toolbar (or using tbdmod plugin).
Then, if you only have a few forms or a defined list of form, you can set your submit button href to:
javascript:myFormName.submit()
with the form being <form name="myFormName" method= ....> ... </form>
If it's all dynamic, you can use iui.getSelectedPage().name to get "myFormName" value dynamiquely.
Remi
> --
> You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group.
> To post to this group, send email to
iphone...@googlegroups.com.
> To unsubscribe from this group, send email to
iphonewebdev...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.
>