Forum Moderators: coopster

Message Too Old, No Replies

first form still shows after first submit clicked

         

indiguy

11:16 am on Oct 16, 2009 (gmt 0)

10+ Year Member



im wondering..

Ive removed area selection buttons from my code. I did this to tidy things up and reorder the code into separate areas.

So, in this .php file i have 3 sections separated via 2 submit buttons (id by different names to prevent clash in coding) and the submit is connected by if(isset($_post...

All this is in the same .php file.
Now, since ive removed the top submit buttons (no longer needed), its created a problem. This is that after i submit that (form) section, it no longer hides, but stays shown but with the next section (form).

How can i make it not show after the first submit?

I dont want to rely on js as IE8 rejects js.


=================================================================
echo "<td><input type=\"submit\" name=\"Continue1\" value=\"Continue\" onClick=\"set_cookie(this)\" /></td>";
echo "<td><input type=\"submit\" name=\"Cancel\" value=\"Cancel\" /></td>";
echo "</tr></center></table>";
echo "</form>";
?>
<?php
}// Close the first form loop.
if(isset($_POST['Continue1']))
{
(next section and form...)

indiguy

1:20 am on Oct 19, 2009 (gmt 0)

10+ Year Member



solved~~ : )