Hi Sean,

Thanks for your quick help!

> What version of iUI are you using?

I was using 0.31

> For "advanced" form usage I recommend iUI 0.40 (dev2) even though it is
> still in the development stage.  

Ok, I upgraded to 0.40

> For multiple submit buttons that are
> non-ajax submits you will definitely not want to use standard form
> <input type="submit"> elements, not the iUI-style anchor-tag submit buttons.
>
> Use target="_self" in your form to override any iUI Ajax processing of
> the form.

All right - that did the trick. With target=_self it indeed works
fine!


Working with the fixed form I realized that an ajax-form might be nice
too in some of my cases. But whenever I have more than one submit
button like this:
  <input type='submit' name='s1' value='val1' />
  <input type='submit' name='s2' value='val2' />
I keep receiving all values of all buttons as POST parameters. ([s1]
=> val1 and [s2] => val2  in the above example.). This also happens
with version 0.40d2.

Is it possible to have more than one submit button in an ajax form?

Thanks

Rolf
-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" 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/iphonewebdev?hl=en.


Reply via email to