thaidomizil Posted June 21, 2011 Share Posted June 21, 2011 Hello, i've created some table with text fields etc, now i'm having a hard time to figure out where i should place the form tag, i just need the whole thing as a form, but wherever i place it, it messes up everything, can someone help me out here please. this is my code: <table cellspacing="0" cellpadding="0"> <tr> <td><table cellpadding="6" cellspacing="0"> <tbody> <tr> <td colspan="1" valign="top"><table cellpadding="6" cellspacing="0"> <tbody> <tr> <td colspan="1" align="left" bgcolor="#f1f1f1"><fieldset> </form> <legend>Persönliche Angaben</legend> <table border="0" cellpadding="2" cellspacing="0"> <tbody> <tr> <td valign="top" width="100"> Titel<br /></td> <td><input name="Custom_5891" id="Custom_5891" maxlength="100" size="20" type="text" /></td> </tr> <tr> <td valign="top" width="100">Anrede* </td> <td><label for="Anrede"> <select name="Anrede" id="Anrede"> <option value="Frau">Frau</option> <option value="Herr">Herr</option> </select> </label></td> </tr> <tr> <td valign="top" width="100">Vorname* </td> <td><input name="Voornaam" id="Voornaam" maxlength="100" size="30" type="text" /></td> </tr> <tr> <td valign="top" width="100">Nachname* </td> <td><input name="Achternaam" id="Achternaam" maxlength="100" size="30" type="text" /></td> </tr> <tr> <td valign="top" width="100">Adresse* </td> <td><input name="HomeAdres" id="HomeAdres" maxlength="100" size="30" type="text" /></td> </tr> <tr> <td valign="top" width="100">Postleitzahl* </td> <td><input name="HomeAdresPostcode" id="HomeAdresPostcode" maxlength="100" size="15" type="text" /></td> </tr> <tr> <td valign="top" width="100">Wohnort* </td> <td><input name="HomeAdresWoonplaats" id="HomeAdresWoonplaats" maxlength="100" size="30" type="text" /></td> </tr> <tr> <td valign="top" width="100"> Kanton/Bundesland<br /></td> <td><input name="Custom_3601" id="Custom_3601" maxlength="100" size="20" type="text" /></td> </tr> <tr> <td valign="top" width="100">Telefon (privat)* </td> <td><input name="TelefoonThuis" id="TelefoonThuis" maxlength="100" size="30" type="text" /></td> </tr> <tr> <td valign="top" width="100">Telefon (mobil)* </td> <td><input name="TelefoonMobiel" id="TelefoonMobiel" maxlength="100" size="30" type="text" /></td> </tr> <tr> <td valign="top" width="100"> E-Mail* </td> <td><input name="Email" id="Email" maxlength="100" size="30" type="text" /></td> </tr> </tbody> </table> </fieldset></td> </tr> <tr> <td colspan="1" align="left" bgcolor="#f1f1f1"><fieldset> <legend>Interneterfahrung-Kenntnisse </legend> <table border="0" cellpadding="2" cellspacing="0"> <tbody> <tr> <td valign="top" width="100"></td> <td width="117" valign="top"> Interneterfahrung </td> <td valign="top" width="391"><input name="Match_2701_Value_25444" value="1" type="checkbox" /> Keine <input name="Match_2701_Value_25444" value="2" type="checkbox" /> Wenig <input name="Match_2701_Value_25444" value="3" type="checkbox" /> Mittel <input name="Match_2701_Value_25444" value="4" type="checkbox" /> Gut <input name="Match_2701_Value_25444" value="5" type="checkbox" /> Sehr gut</td> </tr> </tbody> </table> </fieldset></td> </tr> <tr> <td colspan="1" align="left" bgcolor="#f1f1f1"><fieldset> <legend>Ausbildung (Bitte Zutreffendes ankreuzen)</legend> <table border="0" cellpadding="2" cellspacing="0"> <tbody> <tr> <td valign="top" width="100"></td> <td valign="top" width="400"><input name="Match_1877" value="19826" type="checkbox" /> Abitur / Matur </td> <td valign="top" width="400"><input name="Match_1877" value="18912" type="checkbox" /> Lehrabschluss / Berufsschule </td> <td valign="top" width="400"><input name="Match_1877" value="18913" type="checkbox" /> Hochschulabschluss </td> </tr> <tr> <td></td> <td valign="top" width="400"><input name="Match_1877" value="18914" type="checkbox" /> Mittlere Reife</td> <td valign="top" width="400"><input name="Match_1877" value="18931" type="checkbox" /> Kein Abschluss</td> <td valign="top" width="400"><input name="Match_1877" value="18915" type="checkbox" /> Andere</td> </tr> <tr> <td></td> </tr> </tbody> </table> </fieldset></td> </tr> <tr> <td colspan="1" align="left" bgcolor="#f1f1f1"><fieldset> <legend>Fähigkeiten (Bitte Zutreffendes ankreuzen)</legend> <table border="0" cellpadding="2" cellspacing="0"> <tbody> <tr> <td valign="top" width="100"></td> <td valign="top" width="400"><input name="Match_1876" value="18889" type="checkbox" /> Administration&Support </td> <td valign="top" width="400"><input name="Match_1876" value="18890" type="checkbox" /> Agronomie </td> <td valign="top" width="400"><input name="Match_1876" value="18903" type="checkbox" /> Andere </td> </tr> <tr> <td></td> <td valign="top" width="400"><input name="Match_1876" value="18891" type="checkbox" /> Biologie </td> <td valign="top" width="400"><input name="Match_1876" value="18892" type="checkbox" /> Chemie </td> <td valign="top" width="400"><input name="Match_1876" value="18904" type="checkbox" /> Einkauf </td> </tr> <tr> <td></td> <td valign="top" width="400"><input name="Match_1876" value="18895" type="checkbox" /> Finanz / Wirtschaftsprüfung </td> <td valign="top" width="400"><input name="Match_1876" value="19500" type="checkbox" /> Forschung und Entwicklung </td> <td valign="top" width="400"><input name="Match_1876" value="18896" type="checkbox" /> General Management </td> </tr> <tr> <td></td> <td valign="top" width="400"><input name="Match_1876" value="18897" type="checkbox" /> Gesundheit & Sicherheit & Umwelt </td> <td valign="top" width="400"><input name="Match_1876" value="18898" type="checkbox" /> HR / Personalentwicklung </td> <td valign="top" width="400"><input name="Match_1876" value="18899" type="checkbox" /> Informatik </td> </tr> <tr> <td></td> <td valign="top" width="400"><input name="Match_1876" value="18901" type="checkbox" /> Ingenieurwesen / Produktion </td> <td valign="top" width="400"><input name="Match_1876" value="18893" type="checkbox" /> Kommunikation </td> <td valign="top" width="400"><input name="Match_1876" value="18894" type="checkbox" /> Kundendienst </td> </tr> <tr> <td></td> <td valign="top" width="400"><input name="Match_1876" value="18902" type="checkbox" /> Marketing </td> <td valign="top" width="400"><input name="Match_1876" value="18905" type="checkbox" /> Projektmanagement </td> <td valign="top" width="400"><input name="Match_1876" value="18906" type="checkbox" /> Qualitätsmanagement </td> </tr> <tr> <td></td> <td valign="top" width="400"><input name="Match_1876" value="18900" type="checkbox" /> Recht&Steuern / Intellectual Property </td> <td valign="top" width="400"><input name="Match_1876" value="18907" type="checkbox" /> Registrierung </td> <td valign="top" width="400"><input name="Match_1876" value="18910" type="checkbox" /> Strategie und Planung </td> </tr> <tr> <td></td> <td valign="top" width="400"><input name="Match_1876" value="18909" type="checkbox" /> Supply Chain Management / Logistik </td> <td valign="top" width="400"><input name="Match_1876" value="27911" type="checkbox" /> Sustainable Excellence </td> <td valign="top" width="400"><input name="Match_1876" value="18908" type="checkbox" /> Verkauf </td> </tr> <tr> <td></td> </tr> </tbody> </table> </fieldset></td> </tr> <tr> <td colspan="1" align="left" bgcolor="#f1f1f1"><fieldset> <legend>Sprachen (Bitte Zutreffendes ankreuzen - Grundkenntnisse / Fortgeschritten / Fliessend)</legend> <table border="0" cellpadding="2" cellspacing="0"> <tbody> <tr> <td valign="top" width="42"></td> <td width="71" valign="top"> Deutsch </td> <td valign="top" width="185"><input name="Match_1884_Value_18956" value="1" type="checkbox" /> <input name="Match_1884_Value_18956" value="3" type="checkbox" /> <input name="Match_1884_Value_18956" value="5" type="checkbox" /></td> <td width="78" valign="top"> Englisch </td> <td valign="top" width="196"><input name="Match_1884_Value_18955" value="1" type="checkbox" /> <input name="Match_1884_Value_18955" value="3" type="checkbox" /> <input name="Match_1884_Value_18955" value="5" type="checkbox" /></td> <td width="68" valign="top"> Französich </td> <td valign="top" width="194"><input name="Match_1884_Value_18957" value="1" type="checkbox" /> <input name="Match_1884_Value_18957" value="3" type="checkbox" /> <input name="Match_1884_Value_18957" value="5" type="checkbox" /></td> </tr> <tr> <td></td> <td valign="top"> Holländisch </td> <td valign="top" width="185"><input name="Match_1884_Value_18960" value="1" type="checkbox" /> <input name="Match_1884_Value_18960" value="3" type="checkbox" /> <input name="Match_1884_Value_18960" value="5" type="checkbox" /></td> <td valign="top"> Indonesisch </td> <td valign="top" width="196"><input name="Match_1884_Value_22976" value="1" type="checkbox" /> <input name="Match_1884_Value_22976" value="3" type="checkbox" /> <input name="Match_1884_Value_22976" value="5" type="checkbox" /></td> <td valign="top"> Italienisch </td> <td valign="top" width="194"><input name="Match_1884_Value_18961" value="1" type="checkbox" /> <input name="Match_1884_Value_18961" value="3" type="checkbox" /> <input name="Match_1884_Value_18961" value="5" type="checkbox" /></td> </tr> <tr> <td></td> <td valign="top"> Japanisch </td> <td valign="top" width="185"><input name="Match_1884_Value_18964" value="1" type="checkbox" /> <input name="Match_1884_Value_18964" value="3" type="checkbox" /> <input name="Match_1884_Value_18964" value="5" type="checkbox" /></td> <td valign="top"> Koreanisch </td> <td valign="top" width="196"><input name="Match_1884_Value_18965" value="1" type="checkbox" /> <input name="Match_1884_Value_18965" value="3" type="checkbox" /> <input name="Match_1884_Value_18965" value="5" type="checkbox" /></td> <td valign="top"> Mandarin </td> <td valign="top" width="194"><input name="Match_1884_Value_18963" value="1" type="checkbox" /> <input name="Match_1884_Value_18963" value="3" type="checkbox" /> <input name="Match_1884_Value_18963" value="5" type="checkbox" /></td> </tr> <tr> <td></td> <td valign="top"> Polnisch </td> <td valign="top" width="185"><input name="Match_1884_Value_22988" value="1" type="checkbox" /> <input name="Match_1884_Value_22988" value="3" type="checkbox" /> <input name="Match_1884_Value_22988" value="5" type="checkbox" /></td> <td valign="top"> Portugiesisch </td> <td valign="top" width="196"><input name="Match_1884_Value_18958" value="1" type="checkbox" /> <input name="Match_1884_Value_18958" value="3" type="checkbox" /> <input name="Match_1884_Value_18958" value="5" type="checkbox" /></td> <td valign="top"> Rumänisch </td> <td valign="top" width="194"><input name="Match_1884_Value_22991" value="1" type="checkbox" /> <input name="Match_1884_Value_22991" value="3" type="checkbox" /> <input name="Match_1884_Value_22991" value="5" type="checkbox" /></td> </tr> <tr> <td></td> <td valign="top"> Russisch </td> <td valign="top" width="185"><input name="Match_1884_Value_18962" value="1" type="checkbox" /> <input name="Match_1884_Value_18962" value="3" type="checkbox" /> <input name="Match_1884_Value_18962" value="5" type="checkbox" /></td> <td valign="top"> Spanisch </td> <td valign="top" width="196"><input name="Match_1884_Value_18959" value="1" type="checkbox" /> <input name="Match_1884_Value_18959" value="3" type="checkbox" /> <input name="Match_1884_Value_18959" value="5" type="checkbox" /></td> <td valign="top"> Tagalog </td> <td valign="top" width="194"><input name="Match_1884_Value_22992" value="1" type="checkbox" /> <input name="Match_1884_Value_22992" value="3" type="checkbox" /> <input name="Match_1884_Value_22992" value="5" type="checkbox" /></td> </tr> <tr> <td></td> <td valign="top"> Thai </td> <td valign="top" width="185"><input name="Match_1884_Value_22975" value="1" type="checkbox" /> <input name="Match_1884_Value_22975" value="3" type="checkbox" /> <input name="Match_1884_Value_22975" value="5" type="checkbox" /></td> <td valign="top"> Tschechisch </td> <td valign="top" width="196"><input name="Match_1884_Value_22987" value="1" type="checkbox" /> <input name="Match_1884_Value_22987" value="3" type="checkbox" /> <input name="Match_1884_Value_22987" value="5" type="checkbox" /></td> <td valign="top"> Ukrainisch </td> <td valign="top" width="194"><input name="Match_1884_Value_22990" value="1" type="checkbox" /> <input name="Match_1884_Value_22990" value="3" type="checkbox" /> <input name="Match_1884_Value_22990" value="5" type="checkbox" /></td> </tr> <tr> <td></td> <td valign="top"> Ungarisch </td> <td valign="top" width="185"><input name="Match_1884_Value_22989" value="1" type="checkbox" /> <input name="Match_1884_Value_22989" value="3" type="checkbox" /> <input name="Match_1884_Value_22989" value="5" type="checkbox" /></td> <td valign="top"> Vietnamesisch </td> <td valign="top" width="196"><input name="Match_1884_Value_22974" value="1" type="checkbox" /> <input name="Match_1884_Value_22974" value="3" type="checkbox" /> <input name="Match_1884_Value_22974" value="5" type="checkbox" /></td> </tr> </tbody> </table> </fieldset></td> </tr> <tr> <td colspan="1" align="left" bgcolor="#f1f1f1"><fieldset> <legend>Andere Sprachen</legend> <table border="0" cellpadding="2" cellspacing="0"> <tbody> <tr> <td valign="top" width="100"> Bitte geben Sie die Sprache und das Sprach-Level an<br /></td> <td><input name="Custom_3720" id="Custom_3720" maxlength="100" size="30" type="text" /></td> </tr> </tbody> </table> </fieldset></td> </tr> <tr> <td colspan="1" align="left" bgcolor="#f1f1f1"><fieldset> <legend>Dokumente anhängen</legend> <p>Maximale Dateigrösse: 2MB</p> <p>Erlaubte Dateiendungen: JPG,BMP,GIF,PNG,TXT,DOC,RTF,PDF</p> <table cellspacing="0" cellpadding="0"> <tr> <td valign="top" width="123">Lebenslauf* </td> <td width="252"><input name="lebenslauf" id="lebenslauf" maxlength="255" size="30" type="file"></td> </tr> <tr> <td valign="top" width="123"> Anschreiben* (Bitte begründen Sie Ihre Bewerbung kurz)<br></td> <td><input name="anschreiben" id="anschreiben" maxlength="255" size="30" type="file"></td> </tr> </table> <p> </p> <table border="0" cellpadding="2" cellspacing="0"> <tbody> <tr> <td valign="top" width="123">Personalausweiskopie (Scan oder Foto)* </td> <td width="247"><input name="persokopie" id="persokopie" maxlength="255" size="30" type="file" /></td> </tr> </tbody> </table> </fieldset></td> </tr> <tr> <td colspan="1" align="left" bgcolor="#f1f1f1"><fieldset> <legend>freiwillig (oder falls erforderlich im Stellenangebot)</legend> <table width="384" border="0" cellpadding="2" cellspacing="0"> <tbody> <tr> <td valign="top" width="126"> Andere Dokumente<br /></td> <td width="250"><input name="andere" id="andere" maxlength="255" size="30" type="file" /></td> </tr> </tbody> </table> </fieldset></td> </tr> <tr> <td colspan="1" align="left" bgcolor="#f1f1f1"><fieldset> <legend>Herkunft der Bewerbung</legend> <table border="0" cellpadding="2" cellspacing="0"> <tbody> <tr> <td valign="top" width="121"> Wie sind Sie auf die Stelle aufmerksam geworden?*<br /></td> <td width="256"><label for="textarea"></label> <textarea name="textarea" id="textarea" cols="45" rows="5"></textarea></td> </tr> </tbody> </table> </fieldset></td> </tr> <tr> <td colspan="1" align="left" bgcolor="#f1f1f1"><fieldset> <legend>Gebrauch von persönlichen Daten* </legend> <table width="904" border="0" cellpadding="2" cellspacing="0"> <tbody> <tr> <td valign="top" width="786"><input name="Match_1881" value="18929" type="checkbox" /> Ich stimme den Bedingungen (untenstehend) zur Behandlung meiner persönlichen Daten zu. </td> <td valign="top" width="110"><input type="submit" name="Absenden" id="Absenden" value="Bewerbung absenden" align="right"></td> </tr> </tbody> </table> </fieldset></td> </tr> <tr> <td colspan="2" align="center"></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> </table> Thanks Quote Link to comment https://forums.phpfreaks.com/topic/239993-problem-with-form/ Share on other sites More sharing options...
fugix Posted June 21, 2011 Share Posted June 21, 2011 What do you mean by "messes everything up"? Also, where does your first ending form tag come from. Have you tried encasing the entire table Quote Link to comment https://forums.phpfreaks.com/topic/239993-problem-with-form/#findComment-1232803 Share on other sites More sharing options...
thaidomizil Posted June 21, 2011 Author Share Posted June 21, 2011 Hello fugix, that form tag was a leftover from one of my former trys. I took your advice and just put the opening form tag infront of <table> and the closing form tag behind the last </table>, i don't know why i didn't try this before, but it works. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/239993-problem-with-form/#findComment-1232807 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.