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???

Did you know?Explore Trending and Topic pages for more stories like this.
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

include
Hi I have this way of licensing my PHP application, and I want to know if you guys can answer some q

Is there a more efficient way to code this than what I have?
I have three associative arrays.

$combinedSettings
$userSettings
$defaultSettings

dropdown box help - open php files to textarea
Hi, I am using tinymce to edit content located in several php files. The code I attached works but i

Server side $_SESSION
how does one keep the session completely server side. no cookies to the browser at all. i need this

Email with Attachments in PHP
Hi Friends

How to send email in PHP with attachment.
I know simple mail can be sent with

SQL Injection
In my attempts to protect my database from mySQL injection I have created another problem for myself

simplexml_load_file and rss problem
Hi,

I have a problem parsing an rss feed using simplexml_load_file - this is strange as i hav

Scheduler problems related to execution of a single BLT by many schedules
Hello all,

We are running several MII instances in a distibuted architecture using a sing

Quick Question about echo value
Hey guys, I'm trying to get something to show differently in one of my scripts. I'm trying to make

Using system() and bringing back the results
I am aware that you can use system() within PHP to execute system commands, but I was wondering if t

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