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

PHP code needed to get/post form fields and request mysql query results.
I'm new to PHP

I've created an html form to allow the user to request a basic telephone dire

Keep newlines from textarea?..
I'm creating a simple encoding program, and what I want it to do is retain the newlines, as echoing

Create or replace package is ending ORA-21700
Database 9.2.0., patch 8 (9.2.0.8.0).
I trying run
create or replace package ....etc.

A little help needed passing hidden values to next page
I have a page that has hidden values in a form.

example
Code: <input name='signupID

Multi Dimensional Array Append
Hi Guys

I have a function that returns a multidimentional array eg

$result = functio

Form help: Syntax & Logic
Hello again all,

I'm working on a form and ran into a wall (again) and can't seem to think th

Wordpress IE issue
So I am trying to add the background shadow to my wordpress page. It works fine in Firefox but does

Compare user input to flat file data
Help...Am a complete newbie to programming so my code is prolly quite long. Am trying to verify a us

radio button reamains checked
Hello i'm trying to keep the state off my radio buttons so it shows which ones where clicked after t

How would I protect......
I have a from, actually, a good amount of forms. How can I make it so you can't type the characters:

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