Multiple forms on the same page (safari)


Posted on 16th Feb 2014 07:03 pm by admin

Hello everyone,

I have 3 forms on the same page, that opens in a new window and submits to a php file, this works great in IE8 but I can not get it to work in safari, I can click on the first submit button and it will work but if you close the first open window and click on the next submit button nothing happens???

I even played around with onclick refresh today without any luck in safari.

Code: <div class="stepBox1">
<p class="note">Download and review instructions for circulating nomination petitions</p>
<form name="instructions" action="download.php" method="post" target="_blank">
<input type="hidden" name="file" value="2010_instructions_for_circulating_nom_petitions" />
<input name="" type="submit" class="button_download" value="" />
</form>
</div>
<form name="side1" action="download.php" method="post" target="_blank">
<div class="stepBox2">
<p class="note">Select Your County</p>
<div class="radio">
<label>
<input type="radio" name="file" value="charlie_dent_nomination_petition_side_1_lehigh" id="county_0" />
Lehigh</label>
<br />
<label>
<input type="radio" name="file" value="charlie_dent_nomination_petition_side_1_northampton" id="county_1" />
Northampton</label>
<br />
<label>
<input type="radio" name="file" value="charlie_dent_nomination_petition_side_1_montgomery" id="county_2" />
Montgomery</label>
</div>
</div>
<div class="stepBox3">
<p class="note">Download Petition SIDE 1</p>
<input name="" type="submit" class="button_download" value="" />
</div>
</form>
<div class="stepBox4">
<p class="note">Download Petition SIDE 2</p>
<form name="side2" action="download.php" method="post" target="_blank">
<input type="hidden" name="file" value="charlie_dent_nomination_petition_side_2" />
<input name="" type="submit" class="button_download" value="" />
</form>
</div>
Here is my page:
http://test.c-s-wilson.com/signatures/

No comments posted yet

Your Answer:

Login to answer
194 Like 54 Dislike
Previous forums Next forums
Other forums

What are the two different files you download to update kernel?
What are the two different files you download to update kernel?

Warning: session_start() headers already sent error - Driving me Nuts!
I am trying my sister in laws site and I keep getting an error with my coding. I am more of a design

How to make URL loads only on login
On my page, when a user login he's redirects to user_home.php. I made it also to open the chat scree

phpmailer class & pop.gmail.com?
Code: <?php
$mail->IsSMTP();
$mail->Host = "pop.gmail.com";

How to convert this array to string
I am having problems converting this array to a string
using print_r($val[1]); I get:
Code: [

Parse error: parse error in C:wampwwwlogspagesmembers.php on line 16
I dont see the problem with this, I always get Parse error: parse error in C:wampwwwlogspagesme

using file_get_contents??
okay how would i create a script using file_get_contents() in php have it grab search pages 1-20 and

Data type mismatch
Hi,
I am migrating data from algol to c.I mapped real datatype in algol to double datatype in

Xml parsing
I need a suggestion about parsing xml with multiply parts like pervious...
i.e. different device

PHP Code reffering to database, doing something wrong.. pls help
Well i am quite new with PHP
and for school we have to make a PHP script which reffers to a Data

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash