When you get an answer, please let me know, as I keep score on these :-)<br><br>Thanks,<br>-Randy<br><br><div class="gmail_quote">On Sat, Mar 13, 2010 at 12:35 PM, Hans Langouche <span dir="ltr">&lt;<a href="mailto:hans.langouche@gmail.com">hans.langouche@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


  

<div bgcolor="#ffffff" text="#000000">
Hi Randy,<br>
<br>
tnx for the help, but neither of those (which I came across as well)
are relevant in this case. &#39;storage&#39; isn&#39;t used and neither is ajax.<br>
<br>
Greetz,<br>
<br>
HnLn<div><div></div><div class="h5"><br>
<br>
Randy Fay wrote:
<blockquote type="cite">There are two problems that I know of with multiple forms
on a page in D6:<br>
  <br>
  <a href="http://drupal.org/node/386678" target="_blank">http://drupal.org/node/386678</a>
(fixed in D7): If any form uses $form_state[&#39;storage&#39;] then it destroys
$_POST, causing the other(s) not to be able to submit. This one has a
demo module that you may be able to use to see if you&#39;re having the
same problem.<br>
  <br>
  <a href="http://drupal.org/node/384992" target="_blank">http://drupal.org/node/384992</a>
(still open in D7): In an AJAX/AHAH form, form_clean_id() (D6) or
drupal_html_id (D7) doesn&#39;t work right, so you end up having to use
hook_forms() to make the form_id of each form different. <br>
  <br>
-Randy<br>
  <br>
  <div class="gmail_quote">On Sat, Mar 13, 2010 at 6:53 AM, Hans
Langouche <span dir="ltr">&lt;<a href="mailto:hans.langouche@gmail.com" target="_blank">hans.langouche@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
all,<br>
    <br>
I have a small admin form (2 buttons and a hidden value) that is
repeated multiple times (each time the value is different).<br>
    <br>
Now whenever I access $form_state[&#39;values&#39;] from the submit function,
the hidden value always returns the data from the first form.  When I
print out $_POST directly I do get the correct data.<br>
    <br>
I&#39;ve been searching this and it seems this is because the form_state is
cached.  I couldn&#39;t find any workaround though, so for the moment
working with $_POST.  Anyone know the correct way to do this ?<br>
    <br>
Tnx,<br>
    <br>
HnLn<br>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Randy Fay<br>
Drupal Development, troubleshooting, and debugging<br>
  <a href="mailto:randy@randyfay.com" target="_blank">randy@randyfay.com</a><br>
+1  970.462.7450<br>
  <br>
</blockquote>
</div></div></div>

</blockquote></div><br><br clear="all"><br>-- <br>Randy Fay<br>Drupal Development, troubleshooting, and debugging<br><a href="mailto:randy@randyfay.com">randy@randyfay.com</a><br>+1  970.462.7450<br><br>