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/

194 Like 54 Dislike
Previous php-forum Next php-forum
Other php-forum

Adding to an Int row in db
Hi, i have a database which houses all of the users of my site. One of the columns is for points whi

this code is not working????
it says this error.. Warning: Division by zero in ..

the variables are correct, so why is th

Inserting the current date/time while submitting the forum
What do I need to add below to update the current date/time? I have a field in the database called d

Loops and Classes
I am making a template system and everything seems to be going well up until I have to loop in a var

Text to picture Generator
Hello, i have found this script and it works really good^^ But i have one problem, i would like to c

php require help needed
Ok i tried to use the search funtion but the word require is everywhere.

i'm really new to cr

Alternate messaging
I have 4 strings in MySQL db1

$string1 : Hello
$string2 : Hi
$string3 : Great
$strin

Delete all files in folder except with certain name
I have a script that I want to delete all files in a folder (taken from a database) except for one n

Just cannot get 'area' to submit to db using same php code as already used
Basically all i have done is just modified some code and added an area section.
The form is allre

SMTP server...
I recently found a tutorial online on SMTP authentification for sending emails from webpages, here i

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