PDA

View Full Version : URGENT form help! site needs to be up by end of day



shirat
Feb 24th, 2012, 01:02 PM
i have a form that is submiting only the first 3 fields. it might have to do with divs maybe getting in the way? i tried everyhting. if someone can look at my code it would be huge help:
<form id="ContactForm" action="FormtoEmail.php" method="post" name="ContactForm">
<h1> Your Information</h1>
<label>Name</label><input name="Name" type="text" value="" size="20" />
<br />
<label>Phone Number</label><input name="number" type="text" value="" size="20" />
<br />
<label>Email</label><input name="email" type="text" value="" size="20" />
<h4></h4>
<br/>
<div id="order1">
<h4>Order 1</h4>
<h3> Presentation Selection</h3>

<select class="summable"name="">
<optgroup label="selection">
<option value="17.00">1a. Small glass flower dish-£11/$17/NIS64</option>
<option value="17.00">1b. Mini storage basket-£11/$17/NIS64</option>
<option value="30.00">2c-bowl-$30.00</option>
<option value="17.00">1a. Small glass flower dish-£11/$17/NIS64</option>
<option value="17.00">1b. Mini storage basket £11/$17/NIS64</option>
<option value="21.00">2a. Candy Machine £13.50/$21/NIS78</option>
<option value="21.00">2b. Thermos cup-£13.50/$21/NIS78</option>
<option value="25.00">3a. Square textured glass dish-£16.00/$25/NIS93</option>
<option value="25.00">3b. Cosmetic bag £16.00/$25/NIS93</option>
<option value="25.00">3c. Patterned porcelain dish £16.00/$25/NIS93</option>
<option value="32.00">4a. Food basket with wine £20.00/$32/NIS116</option>
<option value="32.00">4b. Food basket without wine £20.00/$32/NIS116</option>
<option value="32.00">4c. Square porcelain dish £20.00/$32/NIS116</option>
<option value="36.00">5a. Oval glass dish £23.00/$36/NIS134</option>
<option value="36.00">5b. Heart shaped frying pan £23.00/$36/NIS134</option>
<option value="41.00">6. Food hamper £26.00/$41/NIS151</option>
<option value="42.00">7. Vase £27.00/$42/NIS157</option>
<option value="45.00">8. Set of 2 dip bowls £29.00/$45/NIS169</option>
<option value="52.00">9. Glass round cake tray £33.50/$52/NIS195</option>
<option value="52.00">10. Divided dish £38.00/$59/NIS221</option>
<option value="67.00">11. Mirror tray £43.00/$67/NIS250</option>
<option value="76.00">12. Oval salad bowl £49.00/$76/NIS285</option>

</optgroup>
</select>

<br/>
<br/>
<label>Name</label><input type="text" name="adress" class="ad" /><br />
<label>Delivery</label>
<select class="summable" name="">
<optgroup label="selection">
<option value="7.00">Yerushalayim(Main Area) NIS25/£4.50/$7</option>
<option value="8.50">Yerushalyim (Neve yakov or old city)-NIS33/£5.5/$8.5</option>
<option value="11.00">Yerushalayim (Givat zeev, maale adumim)–NIS40/£7/11</option>
<option value="10.00">Beit shemesh – NIS35/£6.2/$10</option>
<option value="10.00">Telstone – NIS35/££6.2/$10</option>
<option value="10.00">Kiryat sefer – NIS35/6.2/$10</option>
<option value="10.00">Benei brak – NIS35/£6.2/$10</option>
<option value="10.00">Beitar – NIS35/£6.2/$10</option>
<option value="10.00">Gush etzion – NIS35/£6.2/$10</option>
<option value="12.50">Elad-NIS45/£8/$12.5</option>
<option value="18.50">Everywhere else – NIS70/£12/$18.5</option>
</optgroup>
</select>

<br/>
<label>Address</label><input type="text" name="adress"class="ad" /><br/>
<label>Building Number</label><input type="text" name="adress" class="ad" />
<br/>
<label>Apartment Number</label> <input type="text" name="street adress" /><br/>
<label>Entrance </label><input type="text" name="adress"class="ad" /><br/>
<label>Floor</label><input type="text" name="street adress" /><br/>
<label>Phone Number</label><input type="text" name="adress"class="ad" />
<br/>
<h4 class="spe">Message to recipient </h4>

<textarea name="requests" cols="30" rows="10"></textarea>
</div>
<br/>
<div id="order2">
<h2>Order 2</h2>
<h3> Presentation Selection</h3>
<select class="summable" name="">
<optgroup label="selection">
<option value="17.00">1a. Small glass flower dish-£11/$17/NIS64</option>
<option value="17.00">1b. Mini storage basket-£11/$17/NIS64</option>
<option value="30.00">2c-bowl-$30.00</option>
<option value="17.00">1a. Small glass flower dish-£11/$17/NIS64</option>
<option value="17.00">1b. Mini storage basket £11/$17/NIS64</option>
<option value="21.00">2a. Candy Machine £13.50/$21/NIS78</option>
<option value="21.00">2b. Thermos cup-£13.50/$21/NIS78</option>
<option value="25.00">3a. Square textured glass dish-£16.00/$25/NIS93</option>
<option value="25.00">3b. Cosmetic bag £16.00/$25/NIS93</option>
<option value="25.00">3c. Patterned porcelain dish £16.00/$25/NIS93</option>
<option value="32.00">4a. Food basket with wine £20.00/$32/NIS116</option>
<option value="32.00">4b. Food basket without wine £20.00/$32/NIS116</option>
<option value="32.00">4c. Square porcelain dish £20.00/$32/NIS116</option>
<option value="36.00">5a. Oval glass dish £23.00/$36/NIS134</option>
<option value="36.00">5b. Heart shaped frying pan £23.00/$36/NIS134</option>
<option value="41.00">6. Food hamper £26.00/$41/NIS151</option>
<option value="42.00">7. Vase £27.00/$42/NIS157</option>
<option value="45.00">8. Set of 2 dip bowls £29.00/$45/NIS169</option>
<option value="52.00">9. Glass round cake tray £33.50/$52/NIS195</option>
<option value="52.00">10. Divided dish £38.00/$59/NIS221</option>
<option value="67.00">11. Mirror tray £43.00/$67/NIS250</option>
<option value="76.00">12. Oval salad bowl £49.00/$76/NIS285</option>
</optgroup></select>
<br/>
<br/>
<label>Name</label><input type="text" name="adress" class="ad" /><br />
<label>Delivery</label><br/>
<select class="summable" name="">
<optgroup label="selection">
<option value="7.00">Yerushalayim(Main Area) NIS25/£4.50/$7</option>
<option value="8.50">Yerushalyim (Neve yakov or old city)-NIS33/£5.5/$8.5</option>
<option value="11.00">Yerushalayim (Givat zeev, maale adumim)–NIS40/£7/11</option>
<option value="10.00">Beit shemesh – NIS35/£6.2/$10</option>
<option value="10.00">Telstone – NIS35/££6.2/$10</option>
<option value="10.00">Kiryat sefer – NIS35/6.2/$10</option>
<option value="10.00">Benei brak – NIS35/£6.2/$10</option>
<option value="10.00">Beitar – NIS35/£6.2/$10</option>
<option value="10.00">Gush etzion – NIS35/£6.2/$10</option>
<option value="12.50">Elad-NIS45/£8/$12.5</option>
<option value="18.50">Everywhere else – NIS70/£12/$18.5</option>
</optgroup>
</select>
<br/>

<label>Address</label><input type="text" name="adress"class="ad" /><br/>
<label>Building Number</label><input type="text" name="adress" class="ad" /><br/>

<label>Apartment Number</label> <input type="text" name="street adress" /><br/>
<label>Entrance </label><input type="text" name="adress"class="ad" /><br/>
<label>Floor</label><input type="text" name="street adress" /><br/>
<label>Phone Number</label><input type="text" name="adress"class="ad" />
<br/>
<h4 class="spe">Message to recipient </h4>

<textarea name="requests" cols="30" rows="10"></textarea>
</div>
<div id="clear"/>



<h2 class="pay">Payment Method </h2>
<h3>Credit Card: We process credit cards through PayPal. An invoice will be sent to you by email within the next 24 hours, click on the payment button in your invoice to pay using your credit card – you do not need a PayPal account. </h3>

<label>Credit Card</label><input name="Credit Card" type="checkbox" value="" />
<label>Cheque</label><input name="Cheque" type="checkbox" value="" />



<h4>New Customers</h4>
<label>How did you hear about us?</label><input type="text" name="refer" /><br/>
<p class="referel"> If someone referred you to us please fill in their details and they will receive a coupon code for $6 off their next order.</p>
<label>Name</label><input type="text" name="refer" /><label>Email</label><input type="text" name="refer" />

<h4></h4>

<br/>





<!--<input id="sum" type="text"/>
<button id="button">Total</button>-->
<br/>
<br/>
<input name="" type="submit" value="Submit" />



</form>
</div>
</div>
</div>

</body>
</html>

SB65
Feb 24th, 2012, 01:13 PM
You have duplicate name attributes for some input fields, no name attributes for some select fields, and some name attributes which contain spaces.

Sort all those and give it another go.

SB65
Feb 24th, 2012, 04:02 PM
Hmm. Not that urgent then...:rolleyes: