Hi,

I'm rather new to iui, but I already have made my fist successful
steps. However, I'm stuck now with a problem with forms. I'm using non-
ajax forms that load a new page.

My form looks like this:
<form id="someid" title="Item" class="panel" method="post"
action="index.php">
  <h2>...</h2>
  <fieldset>
   ...
  </fieldset>

  <input type='submit' name='s1' value='s1' />
  <input type='submit' name='s2' value='s2' />
  <a class="whiteButton" type="submit" name='a1'>a1</a>
  <a class="whiteButton" type="submit" name='a2'>a2</a>
</form>

A form with 4 buttons is displayed. The problem is that independently
of what button I click, I always get the same POST parameters in
index.php:
[s1] => s1
[s2] => s2

So it is impossible to find out in index.php which button has been
cklicked.

What am I doing wrong?

Thanks for any help

Cheers, 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