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

please fix the error
What is the error in the below code ???
Line number On/Off | Expand/Contract <?php

Get value from Select menu
Hi!

Have tried to find the solution on the web. Don't know if there is an easy one. A descrip

Help with search.php
Hello All

I need the search engine on a site I am building at the moment to display the searc

timed header image rotation
I have a joomla site and I was trying to setup a rotating image based on timing NOT just refreshing

classic dynpro : hide area and auto adjust hights
Hi,

I want to develop a similar user interface as is used in standard transaction MIGO.

couldn't connect to your database
Hello I am new to php mysql

Actually i have read A tutorial on nettuts
"http://net.tu

Date Question
I'm using the TIMESTAMP() function within mysql to set the date/time for certain events. However, ho

drop-down with sub-category appear
Hello,

i know how to build a simple dro-down list, im looking for a code when im gonna choose

tell csv import script to ignore blank rows?
Hi i have the below script but i get an error if a row is blank ie a return in the csv file at the e

Preg_match unknown modifyer
Hello,

Im trying to write a little script for my forums i need to get the reply from my forum

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