Search the Community

Showing results for tags 'form'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH


  • Community Calendar




Website URL








Found 106 results

  1. Hi W3S I am trying to make a login PHP code with MySQLI and it won't work for some reason, not sure what i have done wrong, can someone see what i did wrong? This is the code: //////////////////////////////////////////////////////////////////////////////////////////////////////// // Login //////////////////////////////////////////////////////////////////////////////////////////////////////// $SUBMIT_FORM_ACTION___TakeLoginForm = (isset($_GET["SUBMIT_FORM_ACTION"]) ? $_GET["SUBMIT_FORM_ACTION"] : ""); if( $SUBMIT_FORM_ACTION___TakeLoginForm == "TakeLogin" ) { $query_1 = "SELECT u_id, u_username, u_password, u_email FROM users WHERE u_email=? AND u_password=?"; if ( $stmt = $mysqli->prepare($query_1) ) { $FORM_email = $_POST['email']; $FORM_password = $_POST['password']; $stmt->bind_param('ss', $FORM_email, $FORM_password); $stmt->execute(); $stmt->bind_result($id, $username, $password, $email); $stmt->fetch(); // SECURITY! CHECK & COMPARE! if($FORM_password !== $password) { die(" <center><b>(Form) Login ErrMSG #1</b></center> <br /> <center>Password incorrect/wrong! Try again!</center> "); } // Make Sessions Needed! $_SESSION['user'] = array(); $_SESSION['user']['id'] = $id; $_SESSION['user']['username'] = $username; $_SESSION['user']['password'] = $password; $_SESSION['user']['email'] = $email; $stmt->close(); //header("location: index.php"); } } okay so lets see if i get this straight. In the bind_result part, this does not matter what kind of variable it is right? In the naming part... or does the names actual HAS to be like the ones in the Database Columns? I somehow think its the part there but correct me if i am wrong... Hoping someone can help me a little bit. Thanks in advance
  2. What is the difference between: <form> tag and <div> tag ?
  3. I see that in the W3.Css demo and templates there is use of forms. When I tried to edit this for use with HTML/PHP The button for the HTML form only works when the Modal Submit is used. <div id="id01" class=" w3-modal" > ... <form action="subscribe.php" method="POST"> <input name="subname" class="w3-input" placeholder="Full Name" type="text" required> <input name="subemail" class="w3-input" placeholder="Email Address" type="text" required> <label class="w3-label w3-validate">Subscribe to e-Mail Newsletter</label> <input class="w3-btn" type="submit" value="Submit"> <p><a class="w3-btn w3-center" href="">Submit</a></p> </form> ... I've also tried the following and the variables are not passed to the php script. ... <form> <input name="subname" class="w3-input" placeholder="Full Name" type="text" required> <input name="subemail" class="w3-input" placeholder="Email Address" type="text" required> <label class="w3-label w3-validate">Subscribe to e-Mail Newsletter</label> <p><a class="w3-btn w3-center" href="subscribe.php">Submit</a></p> </form> ... Any help is appreciated. Thanks Mike
  4. I followed the lessons about php and php forms. Everything is clear and very useful, but I would like to ask how could I send eg this form if valid with SMTP? So, I would like to first validate the form and then send it with SMTP. Thank you!
  5. Hello everyone! This is my very first PHP document, and i must admit, i have no experience or knowledge about PHP, i looked at an example and tryd to connect the dots to create this one. It works better than expected, but I do encounter a few issues, where I would very much like to have some advise with. Problem 1: The data from the form gets mailed to me, but even though everything in the form is filled in, I would only receive the "E-mail: INPUT@HOTMAIL.COM" The rest of the data like: "Meetnaam: " Were blank, as if the data did not exist. The form did check correctly wether this information was provided, but seems not to provide so in the e-mail send to me. Problem 2: $meetnaam should be the subject of the e-mail. Problem 3: $email should also be the e-mail adress asigned to the sender, as such, I can easily reply. Problem 4: The checkbox, $akkoord, should be checked, if not, an error should be displayed, I do not know how to do this. Your help with this problem is very much apreciated! Once again: I am new to this, so try to be very specific (if you would even be so kind, type it out and put the update in bold text) =D This is the PHP and HTML code I used respectively: PHP HTML
  6. <?php include "connetti.php"; session_start(); $query = "SELECT id_studente, nome, cognome, anno_maturita, voto_maturita FROM utenti_studenti WHERE utenti_studenti.confermato = 0"; $risultato = @mysql_query($query); if (mysql_num_rows($risultato) == 0) { echo("Nessun elemento trovato"); header("refresh:3;url=AreaAmministratore.phtml"); exit(); } ?> <html> <head> <title>Annuario Studenti</title> <link rel="stylesheet" href="cssUtils/aggiungi_properties.css"/> <script type="text/javascript" src="jsUtils/jsUtils_annuario/annuario_properties.js"></script> </head> <body> <form method='post' action='confermaStudenti.php' name='aggiornaStatoStudente'> <div align='center'> <table class='tg'> <tr> <th class='tg' style='color: #000;'>ID</th> <th class='tg' style='color: black'>Nome</th> <th class='tg' style='color: black'>Cognome</th> <th class='tg' style='color: black'>Anno Maturita</th> <th class='tg' style='color: black'>Voto Maturita</th> <th class='tg' style='color: black'>Accetta</th> </tr><?php while ($row = @mysql_fetch_assoc($risultato)) { echo " <tr align='center'> <td class='tg' style='color: black'>" . $row['id_studente'] . "</td> <td class='tg' style='color: black'>" . $row['nome'] . "</td> <td class='tg' style='color: black'>" . $row['cognome'] . "</td> <td class='tg' style='color: black'>" . $row['anno_maturita'] . "</td> <td class='tg' style='color: black'>" . $row['voto_maturita'] . "</td> <td class='tg' style='color: black'>" . "<input type=\"hidden\" name=\"rifiuta\"/><input type=\"checkbox\" name=\"accetta\"/>" . "</td> </tr>"; } ?> </table> </div> <div align='center'> <a href='AreaAmministratore.phtml'>Torna indietro.</a> <input type='submit' value='Prosegui'/> </div> </form> </html> <?php session_start(); include("connetti.php"); if (isset($_POST["accetta"])) { $accetta = 1; } else { $accetta = 0; } if ($accetta) { $cognome = $_POST['cognome']; $nome = $_POST['nome']; $id_studente = $_POST['id_studente']; $query = "UPDATE utenti_studenti SET confermato='1' WHERE nome='$nome' AND cognome='$cognome' AND id_studente='$id_studente'"; $risultato = @mysql_query($query) or die('<p align="center">Errore!</p>' . mysql_error()); echo("<script>alert('La modifica eseguita')</script>"); header("refresh:0;url='AreaAmministratore.phtml'"); } else { echo "<script>alert('Errore');</script>"; header("refresh:0;url='AreaAmministratore.phtml'"); exit(); } ?> Greetings guys, could you help me with those codes above? Cuz I can't understand why it doesn't work... So I have an table with the users that not confirmed. So to confirm them I've made checkbox, so on the other side I have a control if the checkbox is checked so I need to update some values on my database right ? Well it doesn't work....
  7. How i submit form to other website and Get Result on my website Here Is An example site I want Make like this website and here tagret website where i want pick data How I Done Any one can help about this
  8. I am making a contact form in a new template liquid for a shopify website. Everything works and looks great in desktop mode but I've noticed as you drag the screen to a skinnier size some inline-block elements jump down perfectly as they are supposed to, the problem is other smaller text boxes are jumping up over other text fields to try and fill that gap. Also I've had issues with the legend and labels abandoning the text box they belong to jump up the form and fill space. Obviously I do not want this, how can I fix it?
  9. Let's pretend, there's a <div> on a page. There's a usual HTML form inside it that sends information to another php-file. By default, the visibility of the div is hidden, and the click on the button makes it visible. The question is how to close the form (i.e. hide the div) using a button or <a> element on the div, WITHOUT the sending data to php-file. In other words, how to close this <div> as if it is usual popup-window, without changes?
  10. I am attempting to create a drop down menu and I liked the style of the top home menu seen here (right near the lego symbol) but I am not sure how to create a similar one would some one gI've me guidance on how I can do this I just started html coding so I am a noon with little knowledge of html right now.
  11. What is the best way of capturing data sent via a contact-us form (I am using form and PHP)--in DB only, in a dedicated email only, or in both? Pros and cons of each method please, if possible.
  12. Hello guys am practically a day old here so i am not a pro with dreamweaver but i know sort of my way around but i am so puzzled and hope i can get help fast, so i downloaded a template and there is a form but i dont know what the ###### is goin on haha. DW has it own form but this one goes with the template so yes. below is the code , if any one could help me i would be greatful ! and yes am learning <form id="form" method="post" > <fieldset> <label><strong>Name:</strong><input type="text" value=""></label> <label><strong>Email:</strong><input type="text" value=""></label> <label><strong>Phone:</strong><input type="text" value=""></label> <label><strong>Message:</strong><textarea></textarea></label> <div class="btns"><a href="#" class="link">Clear</a><a href="#" class="link" onClick="document.getElementById('form').submit()">Send</a></div> </fieldset> </form> that's all that there is but it need to send to a mail and i dont know if it needs a thank you page or redirect to home afterwards once the website is up i shall post the link... Regards Rory
  13. I'm looking for a way to block input in a text field occuring more than 5 times. For example aaaaaa is wrong but: A sentence having an input of a happening several times or even more is okay. above sentence has 7 inputs and shouldnt be blocked. What is the solution?
  14. when working with $_SESSION and creating a super global then in the script where I use include and call the variable the entire form is showing up. I have to work with $_SESSION, because $_POST or $_GET wont work in this situation. Is there a way to transfer a form value to another script, and then a single value and not the complete form with everything in it.
  15. Hello, I have make a form. But the form is not align. I want to have spece between the label and the input, like in the image. The dual column example you see space between the label and the input. My question is: how can I make this? My css is: label{ display:block; color: white; margin:12px; padding: 12px; }input{ height:40px; width: 190px; font-size:20px;} thanks in advance.
  16. Hello Forum! I have a little problem. What I have is a registration page. I want to validate the input of the user in real time. I use JQuery. $("#inputUsername").change(checkUsername); $("#inputEmail").change(checkEmail); $("#inputPassword").change(checkPassword); $("#inputPasswordConfirm").change(checkPasswordConfirm); I check if something was changed. For example like this: function checkUsername() { $(this).popover({placement:"right", container:'body'}); var username = $(this).val(); if(username == '') { $(this).data('bs.popover').options.content = 'Please enter a username'; $(this).popover("show"); } else if(username.length < 5 || username.length > 20) { $(this).data('bs.popover').options.content = 'Please enter a username with 5-20 characters'; $(this).popover("show"); } else { $(this).popover("destroy"); } } Now when the user submits the form, I thought I could use something like this: $("#registerForm").submit(function( event ) { if(!checkUsername || !checkEmail || !checkPassword || !checkPasswordConfirm) { event.preventDefault(); } }); Obviously the functions don't have return types. But even with it doesn't work. With it doesn't work I mean that submit event isn't ignored even if there are errors in the form. I might be doing something wrong with JavaScript as I'm not used to it! Before someone suggests a plugin, I don't have enough control with them. Thanks!
  17. please i need help on how to create a comment box so that people can comment on my sit when they visit thanks
  18. Hello, I was unable to find a solution for this problem. I'm hoping someone knows the answer. I have a mobile website and a phone number you can click to call. I even made it a hyperlink tel:###-###-####. This works correctly. I have a hidden form with a comment field only that basically says "Someone from your website placed a call to you." What I want to do is when the user clicks to call the number on the website call my number and send a quick Email letting me know by submitting the form I just mentioned along with the time and date. I have a php file working that sends the email to me when I hit the submit button. I have the hyperlink opening the box to allow the call to be placed. What I can't seem to figure out is how to get both things done on that one click of the phone number. ANY HELP would be appreciated. I understand that php is server side and the click to call is client side. But I'm still lost.
  19. I'm a beginnerI have an error in the contact form where the data fields are not being sent to the targeted email.Please helpWhat did I do wrong? <!-- contact --> <div class="contact" id="reservations"> <div class="col-md-4 contact-left"> <div class="contact-left1"> <img src="images/logo5.png" class="img-responsive" alt=""> <h3>RESERVAS</h3> </div> </div> <div class="col-md-8 contact-right" id="contact"> <div class="contact-details"> <h3>CONTATO</h3> <div class="text-field-name-1"> <form action="" method="post"> <input type="hidden" name="recipient" value=""> <input type="hidden" name="subject" value="FormMail E-Mail"> .<br /><br /> <input type="text" class="text" value=" Nome completo*" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = ' Name*';}"> <input type="text" class="text" value="País / Estado*" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Surname*';}"> <input type="text" class="text" value=" Facebook*" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Country';}"> <input type="text" class="text" value="Email*" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Email*';}"> <input type="text" class="text" value=" Telefone / Celular*" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = ' Phone*';}"> </form> </div> </div> <div class="reservation-details"> <h3>DETALHES DA RESERVA</h3> <div class="text-field-name-1"> <form action="" method="post"> <input type="hidden" name="recipient" value=""> <input type="hidden" name="subject" value="FormMail E-Mail"> .<br /><br /> <input type="text" class="text" value=" Check-in*" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = ' Arrival Date*';}"> <input type="text" class="text" value=" Check-out*" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Departure Date*';}"> <input type="text" class="text" value=" Tipo de Quarto*" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = ' Rooms*';}"> </form> </div> <div class="text-field-name-2"> <form action="" method="post"> <input type="hidden" name="recipient" value=""> <input type="hidden" name="subject" value="FormMail E-Mail"> <input type="text" class="text" value="Quartos*" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Departure Date*';}"> <input type="text" class="text" value=" Qde Pessosas*" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = ' Rooms*';}"> </form> <label class="checkbox"><input type="checkbox" name="checkbox" checked=""><i> </i>Privacy</label> </div> </div> <div class="clearfix"> </div> <div class="button"> <form action="" method="post"> <input type="hidden" name="recipient" value=""> <input type="hidden" name="subject" value="FormMail E-Mail"> <input type="submit" name="submit" value="Enviar Mensagem"> <input type="hidden" name="redirect" value=""> </form> </div> </div> <div class="clearfix"> </div> </div><!-- contact -->
  20. Hello, i am having issues adding info to a database i have a html from where a user should fill in charname and select ###### then press submit. if i do this i get the error ERROR:could not able to execute INSERT INTO character(charname, ######, xp, gold, accdate) VALUES(jay, male, 0, 100000, now()).You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character(charname, ######, xp, gold, accdate) VALUES(jay, male, 0, 100000, now())' at line 1 <?php include_once 'db_connect.php'; include_once 'psl-config.php'; $error_msg = ""; $now = time(); // check connection if($mysqli === false){ die("ERROR: Could not connect. " . mysqli_connect_error()); } // Escape user inputs for security $charname = mysqli_real_escape_string($mysqli, $_POST['charname']); $###### = mysqli_real_escape_string($mysqli, $_POST['######']); //attempt inser quesry execution $sql = "INSERT INTO character (charname, ######, gold, xp, accdate) VALUES ($charname, $######, 100000, 0, now())"; if(mysqli_query($mysqli, $sql)){ echo "Records added successfully."; } else{ echo " ERROR:could not able to execute $sql." .mysqli_error($mysqli); } // close connection mysqli_close($mysqli); ?> Table CREATE TABLE IF NOT EXISTS `character` ( `id` int(11) NOT NULL AUTO_INCREMENT, `charname` varchar(30) NOT NULL, `######` tinyint(4) NOT NULL, `gold` int(11) NOT NULL, `xp` int(11) NOT NULL, `accdate` timestamp NOT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; I was wondering if some one could explain me what i do wrong, and or have some tips how to make this better. the idea is to add a check to see in the "charname" is already used. and some other stuff. but first i like to see the info end up in my DB Thanks
  21. Hello, I have recently been working on a HTML form to submit new results into a search engine. However I have ran into a problem that I cant seem to get past. I have one page where the info from the form can be properly submitted, however it requires a password to get into. (its the admin panel) located at index.php?a=admin However when a user tries to insert a new site to the form the just are denied access because they cant log into the admin panel, even though the form itself is not actually in the admin panel... The HTML form looks like this and is located in a page called /AddSite.html however its trying to submit the info to /index.php?a=admin how can I use JavaScript to possibly bypass needing the password? and not redirecting to the admin panel when you click submit? (Also, not as important as the above issue... but as you can see I tried to add a capatcha, but I cant get it to be required, users can press submit without even using the capatcha... if anyone could tell me what I did wrong that would be helpful ) my current code: <form action="/index.php?a=admin" method="post"><div class=""> Site Title: <input type="text" name="addtitle" value="" required/><br /> Site URL: <input type="url" name="addurl" value="http://" required/><br /> Site Description: <br /><textarea lass="ads" name="adddesc" required></textarea><div align="center" class="g-recaptcha" data-sitekey="6LfDoAYTAAAAAOUmPcjfwv3I84xYqFBV5tyQMPJu"></div></div><br /><input type="submit" value="Add new result"/></form> Any help works!!!
  22. I was wondering if someone could help me. We were learning some basic javascript in class and I can't seem to get my form to validate. Basically all I wanted it to do is return an error when nothing is entered in the field. I've done it the way we were taught in class via examples. Any help would be much appreciated!! index.html
  23. I have st up a form on my website for contacting my company. It has some required fields for name, email and message but when you click the submit button, an alert pops up to confirm the form being submitted even when the required fields haven't been filled out. How can I solve this? This is the code for the form: <form name="Contact" method="put" id="contact"> First Name: <input type="type" name="First" id="first" maxlength="20" required placeholder="First Name"> <br> Last Name: <input type="type" name="Last" id="last" maxlength="25" required placeholder="Last Name"> <br> Email: <input type="email" name="Email" id="email" maxlength="25" required placeholder="Email"> <br> Message <input type="type" name="Message" id="message" maxlength="1000" required placeholder="Message"> <br> <input type="reset"> <input type="submit" onClick="alert('Thank you for contacting us. We will process it as soon as possible')"> </form>
  24. Hello, I'm working on a website for a friend and can't seem to figure this out but it shows email progress right on the page without even sending a email just going to website! I was wondering if someone can help me fix also diagnose why no emails are sending! Thank you Here is the PHP file: called "form-to-email" <?php/*Configuration You are to edit these configuration values. Not all of them need to be edited.However, the first few obviously need to be edited.EMAIL_RECIPIENTS - your email address where you want to get the form submission.*/$email_recipients = "";//<<=== enter your email address here//$email_recipients = ","; <<=== more than one recipients like this$visitors_email_field = 'email';//The name of the field where your user enters their email address //This is handy when you want to reply to your users via email //The script will set the reply-to header of the email to this email //Leave blank if there is no email field in your form$email_subject = "New Form submission";$enable_auto_response = true;//Make this false if you donot want auto-response.//Update the following auto-response to the user$auto_response_subj = "Thanks for contacting us";$auto_response ="HiThanks for contacting us. We will get back to you soon!RegardsNueroEdge";/*optional settings. better leave it as is for the first time*/$email_from = ''; /*From address for the emails*/$thank_you_url = 'thank-you.html';/*URL to redirect to, after successful form submission*//*This is the PHP back-end script that processes the form submission.It first validates the input and then emails the form submission.The variable $_POST contains the form submission data.*/if(!isset($_POST['submit'])){ // note that our submit button's name is 'submit' // We are checking whether submit button is pressed // This page should not be accessed directly. Need to submit the form. echo "error; you need to submit the form!".print_r($_POST,true); exit;}require_once "includes/formvalidator.php";//Setup Validations$validator = new FormValidator();$validator->addValidation("fullname","req","Please fill in Name");$validator->addValidation("email","req","Please fill in Email");//Now, validate the formif(false == $validator->ValidateForm()){ echo "<B>Validation Errors:</B>"; $error_hash = $validator->GetErrors(); foreach($error_hash as $inpname => $inp_err) { echo "<p>$inpname : $inp_err</p>n"; } exit;}$visitor_email='';if(!empty($visitors_email_field)){ $visitor_email = $_POST[$visitors_email_field];}if(empty($email_from)){ $host = $_SERVER['SERVER_NAME']; $email_from ="forms@$host";}$fieldtable = '';foreach ($_POST as $field => $value){ if($field == 'submit') { continue; } if(is_array($value)) { $value = implode(", ", $value); } $fieldtable .= "$field: $valuen";}$extra_info = "User's IP Address: ".$_SERVER['REMOTE_ADDR']."n";$email_body = "You have received a new form submission. Details below:n$fieldtablen $extra_info"; $headers = "From: $email_from rn";$headers .= "Reply-To: $visitor_email rn";//Send the email!@mail(/*to*/$email_recipients, $email_subject, $email_body,$headers);//Now send an auto-response to the user who submitted the formif($enable_auto_response == true && !empty($visitor_email)){ $headers = "From: $email_from rn"; @mail(/*to*/$visitor_email, $auto_response_subj, $auto_response,$headers);}//done. if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) AND strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest') { //This is an ajax form. So we return success as a signal of succesful processing echo "success";}else{ //This is not an ajax form. we redirect the user to a Thank you page header('Location: '.$thank_you_url);}?> Here is the HTML: This would be the "contactus.html" <!DOCTYPE HTML><!-- Solarize by TEMPLATED @templatedco Released for free under the Creative Commons Attribution 3.0 license (><html> <head> <title>NueroEdge | Contact Us!</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="description" content="" /> <meta name="keywords" content="" /> <!--[if lte IE 8]><script src="css/ie/html5shiv.js"></script><![endif]--> <script src="js/jquery.min.js"></script> <script src="js/jquery.dropotron.min.js"></script> <script src="js/skel.min.js"></script> <script src="js/skel-layers.min.js"></script> <script src="js/init.js"></script> <!-- JavaScript Files --> <script type="text/javascript" src=""></script> <script type="text/javascript" src="js/jquery.validate.min.js"></script> <script type="text/javascript" src="js/additional-methods.min.js"></script> <script type="text/javascript" src="js/main.js"></script> <!-- End JavaScript Files --> <noscript> <link rel="stylesheet" href="css/skel.css" /> <link rel="stylesheet" href="css/style.css" /> </noscript> <!--[if lte IE 8]><link rel="stylesheet" href="css/ie/v8.css" /><![endif]--> </head> <body> <!-- Header Wrapper --> <div class="wrapper style1"> <!-- Header --> <div id="header"> <div class="container"> <!-- Logo --> <h1><a href="#" id="logo">NueroEdge</a></h1> <!-- Nav --> <nav id="nav"> <ul> <li class="active"> <a href="index.html">Home</a> <ul> <li><a href="aboutus.html">About Us</a></li> <li><a href="contactus.html">Contact Us</a></li> </li> </ul> <li><a href="left-sidebar.html">Application</a></li> <li><a href="right-sidebar.html">Leader board</a></li> <li> <a href="">Team List</a> <ul> <li><a href="no-sidebar.html">Ryan Tarson</a></li> <li><a href="no-sidebar.html">Kavin I.</a></li> </li> </ul> <li> <a href="">More...</a> <ul> <li><a href="#">Lorem ipsum dolor</a></li> <li><a href="#">Magna phasellus</a></li> <li><a href="#">Etiam dolore nisl</a></li> <li> <a href="">Phasellus consequat</a> <ul> <li><a href="#">Lorem ipsum dolor</a></li> <li><a href="#">Phasellus consequat</a></li> <li><a href="#">Magna phasellus</a></li> <li><a href="#">Etiam dolore nisl</a></li> <li><a href="#">Veroeros feugiat</a></li> </ul> </li> <li><a href="#">Veroeros feugiat</a></li> </ul> </li> </nav> </div> </div> </div> <!-- Main --> <!-- Content --> <div id="main" class="wrapper style4"> <div id="content" class="container"> <section> <header class="major"> <h2>Contact Us</h2> <span class="byline">Want to get in touch?</span> </header> <p>Welcome to the Contact us page please drop us a line with any questions you may have! This message will be reviewed and wrote back to within 24hr! Please do not send rude messages or irrelevant messages! Thank you! </p> <p>Do not use this system to reply to us! We will message back to you, if you need to reply to our message just use the open ticket and reply to our email! Thanks!</p> <div class="contact-form"> <h1>Contact Us</h1> <form id="contact-form" method="POST" action="form-to-email.php"> <div class="control-group"> <label>Your Name</label> <input class="fullname" type="text" name="fullname" /> </div> <div class="control-group"> <label>Email</label> <input class="email" type="text" name="email" /> </div> <div class="control-group"> <label>Phone (optional)</label> <input class="phone" type="text" name="phone" /> </div> <div class="control-group"> <label>Message</label> <textarea class="message" name="message"></textarea> </div> <div id="errors"></div> <div class="control-group no-margin"> <br> <input type="submit" name="submit" value="Submit" id="submit" /> </div> </form> <div id='msg_submitting'><h2>Submitting ...</h2></div> <div id='msg_submitted'><h2>Thank you !<br> The form was submitted Successfully.</h2></div> </div> </div> </div> </section> </div> <div class="wrapper style2"> <section class="container"> <div class="row double"> <div class="6u"> <header class="major"> <div class="boxA"> <br> <h2>NueroEdge YouTube <img src="images/youtubeicon.png" alt="YouTube" style="width:50px;height:35px"></h2> <span class="byline">We here at NueroEdge are a Friendly Competitive team. We have are great YouTube channel we will try our best to keep up with our weekly uploads! Click the button below!</span> <br> <a href="#" class="button">NueroEdge YT</a> </header> </div> <div class="6u"> <h3>Twitch Streaming <img src="images/twitch.png" alt="Twitch TV" style="width:50px;height:50px"></h3> <font size="5"><p>Here at NueroEdge we have our own Twitch Streaming Team! Want to watch or check out what we do? Go ahead and click the button down below!</p></font> <a href="#" class="button">Twitch Streaming</a> </div> </div> </section> </div> </div> <!-- Team --> <div class="wrapper style5"> <section id="team" class="container"> <header class="major"> <h2>Key Members/Co-Founder</h2> <span class="byline">These are the people who make it Happen! Click the Picture for twitter</span> </header> <div class="row"> <div class="3u"> <a href="#" class="image"><img src="images/ryantarson.png" alt="" style="width:162px;height:162px"></a> <h3>Ryan Tarson</h3> <p>Ryan is a Contributor, Website Developer, Social Media Admin, Account Managers, Hosting, Financial Advisor, PC Gamer/PC streamer</p> </div> <div class="3u"> <a href="#" class="image"><img src="images/kavini.png" alt="" style="width:162px;height:162px"></a> <h3>Kavin I.</h3> <p>Kavin is a Contributor, GFX Artist, Streamer, Competitive Gamer, Social Media Modarator, Account Manager</p> </div> <div class="3u"> <a href="#" class="image"><img src="images/placeholder.png" alt="" style="width:162px;height:162px"></a> <h3>Help Wanted</h3> <p>Another Develper Needed</p> </div> <div class="3u"> <a href="#" class="image"><img src="images/placeholder.png" alt="" style="width:162px;height:162px"></a> <h3>Help Wanted</h3> <p>Streamer/Competitive Player. Trust worthy</p> </div> </div> </section> </div> <!-- Footer --> <div id="footer"> <section class="container"> <header class="major"> <h2>Connect with us</h2> <span class="byline">Want to stay up to date? Follow our Social Media Networks.</span> </header> <ul class="icons"> <li class="active"><a href="" class="fa fa-facebook"><span>Facebook</span></a></li> <li><a href="" class="fa fa-twitter"><span>Twitter</span></a></li> <li><a href="#" class="fa fa-youtube-play"><span>YouTube</span></a></li> <li><a href="" class="fa fa-google-plus"><span>Google+</span></a></li> <li><a href="#" class="fa fa-envelope"><span>Mail></a></li> </ul> <hr /> </section> <!-- Copyright --> <div id="copyright"> ©2014 <a href="">NueroEdge</a> All Rights Reserved | <a href="">Contact Us |</a> <a href="">Team Members </a> </div> </div></body></html>
  25. Hello everybody! I' ve several forms in my website but they don't show as I want. I'm using Django (python) and my form is the next: <form name="form2" action="/edicioncuenca/" method="POST"> {% csrf_token %} {{form.as_p}} <input type="submit" name="formsewer" value="Add sewer"> </input> </form> The result is a vertical form (with much space on the right side). I want to get a form in horizontal position. I mean, I would like to have a form occupying all the space. Is this possible with css? How could I do this? Thank you very much!