Jump to content

Search the Community

Showing results for tags 'Forms'.

  • 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

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








  1. Hello. I have a bit of a problem with W3CSS and INPUTS (textarea) https://www.w3schools.com/w3css/w3css_input.asp Textarea is not referenced with the above page. Here is my HTACCESS :- RewriteRule ^([0-9]+)?$ /PATHNAME/yours_description.php?entity=$1 [nc,l,QSA] if i go in the URL - path/67 my script activates and the vaklue of $entity is retrieved. HOWEVER - PROBLEM. I want a TEXTAREA to be sent as a POST value. But no matter what I do in w3css, the textarea comes out as blank. (my php script also has print_r for $_GET and $_POST - the $description value isn
  2. Greetings: I've recently taken over responsibility for managing the following website: Abacus Custom Painting. The prior webmaster is unavailable for consul. There are three site webpages on which three (in question) submission forms are embedded:Those pages are:1) Home Page: Note the "No Job Too Small... Get Your Free Estimate Today!" submission form. Visitors are encouraged to submit first name, last name, email address & phone number, and a brief description of needed work vis-a-vis this form. 2) 7 Things You Must Know Before Hiring a Painter Page: Note the "Get Your Free
  3. Hello! What is needed to make this form work? The answer may be obvious to most, but I have limited knowledge of html, css, and trying to understand php through the tutorials. I have tried searching similar questions but haven't been able to apply answers to my form. I have modified the form taken from the Parallax template and created a php page, but when I hit the SEND MESSAGE it goes to a 404 error page. I have the website up on a test site, http://debschneiderdesign.com/NextChapter/home.html#home Thanks, Deb <form action="/NextChapter/form-to-email.php" method="post" t
  4. Hi, I am attempting to create a form control with an input field in the centre, and plus/minus buttons either side. The buttons have an absolute position set so they remain at either edge of the parent container, with the input (ideally) adjusting in with to make up the remaining width. Only in practice it doesn't. I can't really set a width to the input as it needs to adjust the width to for different screen widths. The code: .responsive-container{position: relative; width: 100%;} .minus-button{position: absolute; left: 0; width: 40px;} input{position: absolute; left: 40p
  5. When you add a form that is modal and view on a mobile device (apple mostly) the background still scrolls with your finger. This creates a problem as the form fields (Inputs) do not line up and it almost impossible to edit or add text to input fields as you cannot select them. To reproduce just run the modal login example on your mobile phone and move your finger then try to add text to the input fields - !
  6. Hi there, I am trying to only allow a 'next' button to show if a form element is selected. For some reason I am only succeeding to hide the button, and not reveal when the radio button is selected. I am sure it should be relatively simple... The code: .ampwizard .button {opacity: 0;} input[type="radio"]:checked .ampwizard .button{opacity: 1;} <div class="ampwizard"><input type="submit" class="button" name="install-next" value="Next" /></div> Help appreciated with thanks!
  7. Hi, it's been awhile since I've posted here. Maybe that's a good thing in that I guess I'm doing things right? :-) Anyway, something that I find confusing is the "process input" when it comes to forms. An example would be a subscription form. Many, many designs out there on the web but few of their authors explain simply how to get the form to work. And by work I mean how to direct the form info to a particular email. In this case it would obviously be an email of mine where I could receive the subscriber's email address. Here is the html code section for a subscription form: <
  8. Hy, I'am fresh in web Developement and I'am wondering why sending data via forms opens the php-file automaticly instead of working with the data in the backround. <table class="table table-bordered"> <form action="php/interface.php" method="post"> <thead> <tr> <th><input type="submit" ></th> <th><p>Serie: <input type="text" name="serie" /></p></th> <th><p>Korn: <input type="text" name="korn" /></p></th> </tr> </thead> </fo
  9. Hello everyone, I am trying to make my first website and have been going through some javascript examples on W3S to learn how to make a website more interactive. I have been looking at the code for modal login and signup forms found here: https://www.w3schools.com/howto/howto_css_login_form.asp and here: https://www.w3schools.com/howto/howto_css_signup_form.asp The HTML and CSS are easy enough to understand I think, but I seem to be having some trouble with the JS aspect of the tutorials. What I have done is simply add both forms to an HTML document, linked to the s
  10. QUESTION ONE: When using the form attribute with a non-form element to redirect the contents of the non-form element to the form element, will confusion be created, if the non-form element is included in a form element different from the form element that contains the type='submit' input element? QUESTION TWO: Are fieldset elements an exception in this regard? Or, are they, too, treated as non-form elements.
  11. After letting a project age well, I'm looking at modernizing my code. The project takes the data input all year long at several different events and builds a 'league scoreboard' of them. The code goes back as far as 2002 in the oldest parts and the last major update to the code was in '07 even if CSS was added by someone else in '14. I have not worked with CSS before, and had a helper apply it to the PHP pages I coded way back when, but they were using a HTML4 subset that I would consider 'less than easily human readable'. My helper dropped out and I found myself looking at W3.css to
  12. Hello. I've created a small form with 6 text boxes and 2 select boxes/fields. The problem I'm facing is that I'm unable to post from the form to another php file. In the html form, I've written:- <form action="newmember.php" method="POST"> <table> <tr> <td>Full Name / Business Name:</td> <td><input name="txtAccountName" size="20" maxlength="50"></td> <td></td> </tr> <tr> <td>Username:</td> <td><input na
  13. Hi, I am still a rookie when it comes to HTML and would like to create a form that has a single input field. I would like it to show a password field but whatever you type in it would add the html file extension to it and take you to that page. Example, Say you type monkey then click submit. It would take you to monkey.html which is a webpage within my website. Please help... I keep trying stuff and I am getting more confused the more I try it. Thank you Jesse
  14. Hi I have been putting in forms post in websites for a long time just started in the last few weeks to have a go at mobile website building using 3 of the w3c templates. which are terrific but one don't want to play. Its the form post I looked and tried many different ways to make the form work but its split with a div in removing the div the post works fine and looks good on website but not on mobile. I have put in a block form without the div of a different design post box which validates html4 but does not look as good, I want to keep the original post form in. Put the website through
  15. I'm not very experienced in html. Is there a way to pass on text that is shown as a part of a form (not text that the user fill in, but text written by the programmer in the html-file), without having to write it as "value" in addition? I've checked the W3Schools.com, and tried to search google as well, but I can't find any information on this. I know I can do something like this: <td>Verb1<input type="hidden" name="Verb1" value="Verb1"></td> But is there a way of doing this without having to write the same twice in the html-coding?
  16. Hello; This is the first time I have posted to this forum. I have been developing javascript and php in web related context for some time. But there is always some detail that gets solved at some point, but solution is buried in old code somewhere. I am currently trying to get javascript to set a hidden field from the selection a user makes from a set of radio buttons. I have googled around and found some reference an a clue in "current value" but that won't fly in javascript, and the actual syntax was not provided...... SO: here is some code var closeSAOOpt = function()
  17. Hi, I wonder why echo is needed in the following lite of code (for a safe form submission)? I have searched for an answer but everyone seems to discuss the htmlspecialchar thing, but noone explains the "echo". <form method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>"> When I use this piece of code it results in a zero printed out on my website... Thanks a lot!
  18. Hello again! The last thing I am attempting to do for my 1st website is add a custom form that I made via https://coveloping.com/tools/html5-responsive-form-generator I was able to figure out how to get it to appear on my page however I didn't see an option in the builder to select which email the form should send to. I am assuming this will go into the HTML section and not the CSS section? +54 Karma points if you can assist me x) May The 4th Be With You.
  19. Hello, Im a bit lost with this project, I cant seem to find the problem and I sure could use an extra set of eyes to look it over. when the form is submitted it comes back to the error page and the emails are not sent. any ideas? Thanks in advance! <?phpfunction ValidateEmail($email){ $pattern = '/^([0-9a-z]([-.w]*[0-9a-z])*@(([0-9a-z])+([-w]*[0-9a-z])*.)+[a-z]{2,6})$/i'; return preg_match($pattern, $email);}if ($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['formid'] == 'form344'){ $mailto = $_POST['unit'];if(isset($_POST['unit'])) { $units['M17'][] = 'email
  20. <button onclick="myfunction()">Submit</button><?phpfunction myfunction(){ golbal $qual; if (document.getElementById('nota1').checked) { $qual++}; if (document.getElementById('nota2').checked) { $qual++}; if (document.getElementById('nota3').checked) { $qual++; echo "Your score is: $qual out of 30"}; else {echo "First check the answers you think correct"};}?> I don't understand why this php snippet (which i have included in a html with a form in it) is wrong. When i click "Submit" button nothing happens.
  21. I am trying to build a rather large (16+ pages, 2,000+ fields) Survey form to use as part of my Inspection business. I kept being told "it can't be done" and being an old school hack, I thought it could be done... So I wrote a smaller "Proof of Concept" form that has most of the features I wanted... I used Abobe Acrobat XI and Javascript and LOTS of Google searches The form works...(Very well thank you) So now I want to find someone to re-write it (for Pay) nicely for real.... I have posted it on "eLance" but would like to know where else I could post it to find people interested
  22. Is there a way to use a separate file for form processing if I want the results to appear on the same page, right below the form? Or do I have to leave all my PHP code in the page itself?
  23. Hi, I've just built a basic web site, but I now realise (by going through the process) that I need to understand other languages & processes in order to make the site streamlined & fully functional. Because I've only learnt html & css (on a basic level) my understanding of php, sql, js, xml, etc is very poor. I therefor need some advice on what the best mechanisms are for inputting data, storing it & displaying it on the web, possibly with some type of rss feed too. The basic process the site is doing, can be described as follows: 1. Users enter data using an online fo
  24. Hello, MyProject I am having a hard time making the form inputs align with the localstorage table. The forms will have to fit in between the ID and ACTIONS columns and align with where the data is being inputted. I also am having a hard time setting the widths for the table columns. Adjusting the padding is not a problem, but setting a set width is a problem. Any help would be greatly appreciated. Also, is there any way to change the local storage ID something like GW-"DATE"-"TIME" rather than numerically going up 1-2-3-4-5-etc.? Thank you, I SIDEARM I
  25. I have a website I created by using WIX. I am trying to Create a Form for First Name, Last Name and E-mail address that I would like to Pass the First Name, Last Name and E-mail on to a URL: The URL http://www.mb103.com/lnk.asp?o=6189&c=71590&a=120164&s1=fname&s2=lname&s3=emaill/ The S1, S2 & S3 are sub ID fields. My Question is how do I get the s1, s2, & s3 data after hitting the submit button to be inserted in the url above. <!DOCTYPE html><html><body> <form method="get" action="http://www.mb103.com/lnk.asp?o=6189&c
  • Create New...