The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Form Troubleshooting - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Form Troubleshooting (/showthread.php?tid=2069) |
Form Troubleshooting - thegomiboy - Aug 1st, 2012 Hi, This isn't FormTools specific, but I could really use some help. For some reason, I can't get my form to submit. Here is the HTML: <form action="http://www.2020exhibits.com/formtools/process.php" method="post"> <input type="hidden" name="form_tools_initialize_form" value="1" /> <input type="hidden" name="form_tools_form_id" value="1" /> <fieldset> <legend>CONTACT INFORMATION</legend> <div class="aside">Fields marked with * are required.</div> <div id="formLeft"> <p><label for="Name">*Contact Name:</label><input type="text" name="Name" class="required"></p> <p><label for="Company">*Company:</label><input type="text" name="Company" class="required"></p> </div> <div id="formRight"> <p><label for="Phone">*Phone Number:</label><input type="text" name="Phone" class="required"></p> <p><label for="Email">*Email Address:</label><input type="text" name="Email" class="required email"></p> </div> </fieldset> <fieldset> <legend>RFQ BASIC INFORMATION</legend> <p><label for="PCBNumber">PCB Part Number:</label><input type="text" name="PCBNumber"></p> </fieldset> <fieldset> <legend>DELIVERY INFORMATION</legend> <div id="formLeft"> <p><label for="ReleaseQ1">Release Quantity #1:</label><input type="text" name="ReleaseQ1"></p> <p><label for="ReleaseQ2">Release Quantity #2:</label><input type="text" name="ReleaseQ2"></p> <p><label for="ReleaseQ3">Release Quantity #3:</label><input type="text" name="ReleaseQ3"></p> <p><label for="ReleaseQ4">Release Quantity #4:</label><input type="text" name="ReleaseQ4"></p> </div> <div id="formRight"> <p><label for="Turntime1">Turn Time #1:</label><input type="text" name="Turntime1"></p> <p><label for="Turntime2">Turn Time #2:</label><input type="text" name="Turntime2"></p> <p><label for="Turntime3">Turn Time #3:</label><input type="text" name="Turntime3"></p> <p><label for="Turntime4">Turn Time #4:</label><input type="text" name="Turntime4"></p> </div> </fieldset> <h3>Basic Requirements:</h3> <ul style="margin-bottom: 20px;"> <li>Bill of Mat's with Mfr's part numbers, qty & component designators</li> <li>Drawings with any special assembly requirements</li> <li>Gerber Files (May not be necessary if drawings are complete)</li> </ul> <fieldset> <legend>Specifications</legend> <div id="formLeft"> <p><label for="Config_">Configuration:</label><input type="radio" name="Config_" value="Multi" id="Config_0" class="checkbox"> Multi-Up Array <input type="radio" name="Config_" value="Single" id="Config_1" class="checkbox"> Single</p> <p><label for="Length">Length (in.):</label><input type="text" name="Length"></p> <p><label for="Width">Width (in.):</label><input type="text" name="Width"></p> <p><label for="Finish">Surface Finish:</label><input type="text" name="Finish"></p> <p><label for="Mat_">Material:</label><input type="radio" value="Poly" id="Mat_0" class="checkbox"> Polymide (High Temp) <input type="radio" value="Ceramic" id="Mat_1" class="checkbox"> Ceramic <input type="radio" value="FR4" id="Mat_2" class="checkbox"> FR-4 (Low Temp)</p> </div> <div id="formRight"> <p><label for="LayerNumber">Number of Layers:</label><input type="text" name="LayerNumber"></p> <p><label for="PCBThick">PCB Thickness:</label><input type="text" name="PCBThick"></p> <p><label for="Tech_">Technology:</label><input type="radio" name="Tech_" value="PTH" id="Tech_0" class="checkbox"> PTH <input type="radio" name="Tech_" value="SMT" id="Tech_1" class="checkbox"> SMT <input type="radio" name="Tech_" value="BGA" id="Tech_2" class="checkbox"> BGA</p> <p><label for="Plating_">Selective Plating:</label><input type="radio" name="Plating_" value="Yes" id="Plating_0" class="checkbox"> Yes <input type="radio" name="Plating_" value="No" id="Plating_1" class="checkbox"> No</p> </div> </fieldset> <fieldset> <legend>Comments</legend> <textarea name="Comments" cols="1" rows="5"></textarea> <input name="Submit" type="button" value="Submit" class="submit" /> </fieldset> </form> Any help would be greatly appreciated! RE: Form Troubleshooting - thegomiboy - Aug 1st, 2012 Here is the URL of the form: http://www.canyon-mfg.com/contact-us/ RE: Form Troubleshooting - FriedGeek - Aug 4th, 2012 If you already set up your form through formtools, you'll need to remove the hidden field: <input type="hidden" name="form_tools_initialize_form" value="1" /> Also, some hosts are set up to block incoming post requests from another server or domain. If both of those domains are on the same server, it shouldn't be a problem depending on the server's security settings. But if they're not, 2020exhibits.com may be rejecting post requests from canyon-mfg.com. RE: Form Troubleshooting - thegomiboy - Aug 6th, 2012 I've narrowed it down to the fact that I'm using fieldsets. IF I remove the fieldsets, the form submits fine. Does anyone know why? RE: Form Troubleshooting - marcat - Aug 6th, 2012 Change from type="button" to type="submit". <input type="submit" value="Submit" class="submit" /> (Aug 1st, 2012, 10:25 AM)thegomiboy Wrote: Hi, This isn't FormTools specific, but I could really use some help. For some reason, I can't get my form to submit. Here is the HTML: RE: Form Troubleshooting - thegomiboy - Aug 6th, 2012 Thank You Marcat! Can't beieve it was such a small thing! (Aug 6th, 2012, 9:45 AM)marcat Wrote: Change from type="button" to type="submit". RE: Form Troubleshooting - marcat - Aug 6th, 2012 Yeah, easy mistake to make. The rendered "button" whether styled or or plain old html look exactly the same. There is a big difference in functionality though... (Aug 6th, 2012, 11:08 AM)thegomiboy Wrote: Thank You Marcat! Can't beieve it was such a small thing! |