HTML - How We Lock Some Fields In Html???
suppose i have a form in which all the information are asked about a person.
if person is male then the fields which are meant for female should be locked.. and same with vice versa... so please tell me how i can do that in html????? Similar TutorialsCan I have some help. I'm creating a website and I created the template in photoshop, sliced it and imported into dreamweaver but when I put the slicked images to tables and enter content, the whole table messes up and nothing is in line anymore. Is there a way to stop this or to lock the tables so they don't expand and everything stays in line?? Thanks. Hi there, I hope somebody can help i have created a table with the following code </center> <br> <table align="center" width="480" border="1" bordercolor="#3399cc" cellspacing="1" cellpadding="1" valign="top"> <tr> <td height="20" bgcolor=#336699 valign="center"><font face="verdana" size="2"> contained within it it is a yahoo news ticker. and then some html text underneath. Now the problem is the news ticker is pushing the html text down and of course the table moves before the news ticker refreshes how do i lock the table to prevent the text and table moving down..?? Please help... Thanks I'm trying to decide if concerning myself with users who might type a URL all caps, or some other case combination is important. Basically for 1, how many people ever type a url with uppercase letters unless it is obviously apparent that you are supposed to. ex. 'http://www.website.com/big_T' And #2, how many people, if they typed a URL with capital letters and were taken to a 404 page, would go back and type the address again in lowercase, instead of just assuming it was a bad address. ex. Someone posts 'HTTP://WWW.WEBSITE.COM/HOME' you type it as you see it... as so as you hit go/enter the browser is automatically going to put the domain in lowercase and retrieve the address: 'http://www.website.com/HOME' but still return an error page because the directory 'HOME' is actually 'home' Now , while there are ways to fix this, what I am really wanting to know, is how many people, would not go back and try the URL with 'home' typed in lowercase. Hi there, I have created a basic HTML Form but wish to make some fields mandatory. What code do i use to make the fields mandatory Thanks In advance Richard Hi all, I need your help. I have created an HTML web form that's processed by a PHP script. It works absolutely fine but I now need to do add a couple of conditional fields on this in this HTML Form which I don't know how to. The first field in the form is Presenter's Name. Underneath this field, I want to have a checkbox stating "Click here if additional Presenters". As soon as this option is checked off, a new input text field should appear underneath it and at the bottom of the form, a text box should appear for additional presenter's bio. How do I do that? Thanks a trillion in advance for your help. hey everyone, on my website (like most websites) the text when you push CTRL and the scrolling button on your mouse the text changes size. I don't like this feature but understand some people need the help for them to read the text. Is there a code i could insert on my site where it will (after each time you come back) return to its original text size. the size i put on it well i was making it. so it lets people change it but when you leave then come back after a visit it'll turn the text back to its original form and size. thank you, Micheal Hi guys, I am working on a site and one of the pages has a weird issue. Sometimes, you cannot click in to: First name: Last name: E-mail: Phone : It is weird, as it usually affects 2 fields at a time and appears to happen randomly. Occurs in IE7 and Konqueror (KDE browser), but not in Firefox. If someone could tell me what is causing the problem, that would be perfect! The page in question is: http://www.premiumdjs.com/contact.php Thanks! I am creating a small crm and would like to have the input fields look like regular text until clicked on. At that point I would like the input field to be edited....is this possible? For example... First name : James would appear like this....when clicking on James, it puts a input box so you are able to edit the field. I will be using php. hi guys, im new here, and by no means a web designer/coder. however i do dabble in some HTML to save time & money. at present, customers sign up on our website, the form sends that data to our database. (for this we use the pure360.com API) upon submission, a trigger email is sent to that customers email with a voucher, the voucher says to Ryan (ryan@email.com) etc. which is fine. however we would prefer it to be online instead of via email. so customers sign up, data is sent from pure360 form to our database then the success URL shows the voucher on screen with their data pre populated into the fields. could anybody help me with the code to do this? i have attached the basic signup form coding. thanks in advance, Ryan Hi there, I am looking for a way that if a user clicks on a button on my website it will autofill a search field on a website that I have no control over. I have been told that I just need to add the url http://www.externalsite.com?fieldname=123456789 This doesn't seem to work. Can anyone help with this? Hi I made an online application for people to fill out if they want to work with us. I went to w3schools and tried to figure it out. Im a complete noob at this kind of stuff and im not sure why its now working i have double checked it and it is similar to the example i read on their site.. Please help me, I just want it the form to get send to my email. Thank you here is the code i had to split it in 2 posts because it was too long.. sorry <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title><style type="text/css"> <!-- .style1 {font-size: 18px} --> </style></head> <body> <form action="customerservice@gbcmain.com" method="post" enctype="text/plain"> <label>First Name <input type="text" name="firstname" id="firstname" /> </label> <label>Last Name <input type="text" name="lastname" id="lastname" /> </label> <label>SSN <input type="text" name="ssn" id="ssn" /> </label> <p> <label>ADDRESS <input type="text" name="address" id="address" /> </label> <label>City <input type="text" name="city" id="city" /> </label> <label>State <select name="state" id="state"> <option selected="selected">Select One</option> <option>Alabama</option> <option>Alaska</option> <option>Arizona</option> <option>Arkansas</option> <option>California</option> <option>Colorado</option> <option>Connecticut</option> <option>Delaware</option> <option>Florida</option> <option>Georgia</option> <option>Hawaii</option> <option>Idaho</option> <option>Illinois</option> <option>Indiana</option> <option>Iowa</option> <option>Kansas</option> <option>Kentucky</option> <option>Louisiana</option> <option>Maine</option> <option>Maryland</option> <option>Massachusetts</option> <option>Michigan</option> <option>Minnesota</option> <option>Mississippi</option> <option>Missouri</option> <option>Montana</option> <option>Nebraska</option> <option>Nevada</option> <option>New Hampshire</option> <option>New Jersey</option> <option>New Mexico</option> <option>New York</option> <option>North Carolia</option> <option>North Dakota</option> <option>Ohio</option> <option>Oklahoma</option> <option>Oregon</option> <option>Pennsylvania</option> <option>Rhode Island</option> <option>South Carolina</option> <option>South Dakota</option> <option>Tennessee</option> <option>Texas</option> <option>Utah</option> <option>Vermont</option> <option>Virginia</option> <option>Washington</option> <option>West Virginia </option> <option>Wisconsin</option> <option>Wyoming</option> <option>Other</option> </select> </label> </p> <p> <label>Zip <input type="text" name="zip" id="zip" /> </label> </p> <p>Are you 18 years or older? <label> <input type="radio" name="radio" id="yes18" value="yes18" /> Yes</label> <label> <input type="radio" name="radio" id="no18" value="no18" /> No</label> </p> Hey Guys, I am sure it is something stupid that i am doing but cant figure it out.. I have 3 pages A,B and C. Users go to A and enter a search criteria, Paage B gives the result, with action(delete), on clicking the link users are directed to page C with a back link to page B in case they want to delete more entries.. For some reason i cannot get the search criteria (from A) to be transfererd from B to C. Any help would be appreciated.. thanks.. Code on B HTML Code: <form method="POST" action="C.asp"> <input type="hidden" name="hdnSearchCriteria2" value="<%=strUpdateOption%>"> <input type="hidden" name="hdnSearchKey2" value="<%=strUpdateKey%>"> The response.write for strUpdateOption works fine... On page B I also have a link HTML Code: <a href=""../Delete/HdwDelete.asp?HdwID="& rs.Fields("ID") &" "">Delete Record</a> </Form> ON page C HTML Code: <% strSearchCriteria1 = Request.QueryString("SrchFor") strSearchCriteria1 = Request.Form("hdnSearchCriteria2") strSearchKey1 = Request.Form("hdnSearchKey2") ... i can read the strHdwID but not strSearchCriteria1 any suggestions ??? thanks tanmay I'm very, very new to HTML, and quite bad at it. I've recently figured out how to use forms. I was wondering the following: Is it possible to have guests to my website input information that then end up on/in images. For example, let's say I wanted them to fill in the following information: Store Manager: Sales Manager: Advertising Manager: Human Resources: Research and Development Manager: Sales Rep 1: Sales Rep 2: Sales Rep 3: Advertiser 1: Advertiser 2: R+D Engineer 1: R+D Engineer 2: Once they filled in the information, I would want that information to populate an image (namely, an organizational flow chart like this one: http://www.sddot.com/images/org_chart.gif) Any help that anyone can give me would be greatly appreciated! I'm quite desperate. I'm stuck. I've got a form up, just about ready to go public, but I need to set it so that certain fields are required. In the past I've done this without any problem... Usually using just a hidden field, value="required" and listing the fields that are required. But, for some reason, it's not working on this form. Here's the form: http://www.weddingsbybelles.com/contact/survey.htm Quick fix? Is there another easy alternative? Any idea why my old standby stopped working? I want to develop a website that uses background images with text input fields aligned over it. I have been developing HTML for years, but until now it's all been basic stuff - I want to get more creative with this new site. I develop my pages using a text editor, but if there is a good GUI editor that can handle complex designs I'd be willing to buy it or use something like Komposer. I have attached what I have started, so you can see what I'm attempting. BTW: This site (htmlforums.com) is one of the most creative sites I've ever seen. Nice job! Thanks! --Bob Forgive me if this seems like a stupid question but I need help... I'm trying to do a simple online form that emails me the results from a few fields. Here is the code: Code: <form action="http://cm1web1/WebSurveyComponents/script/processform.asp" method="post"> <!-- Mandatory "hidden" objects --> <p> <input type="hidden" name="strInputElements" readonly value="Suggestion"> <input type="hidden" name="strInputElements" value="Name"> <input type="hidden" name="strInputElements" value="Email"> <input type="hidden" name="strInputElements" value="Business Unit"> <input type="hidden" name="intSendMode" readonly value="0"> <input type="hidden" name="strSendParms" readonly value="mark@website.com,CSPS Intranet Suggestion Box"> Name: <input type=text name="Name"> <br>(optional, but required if you would like a response to your comments or suggestions)</p> <p>Email: <input type=text name="Email"> <br>(optional) </p> <p>Business unit: <input type=text name="Business Unit"> <br>(optional) </p> <p> <textarea name="Suggestion" rows="12" cols="40">Write your feedback or suggestion here</textarea> <br> <br> <input name="Send" type="submit" value="Send"> <input name="Clear" type="reset" value="Clear"> </p> <p>(Unless you fill in your name and/or email, this form is completely anonymous)</p> </form> And the email I receive looks like this... Field = Suggestion Response = Write your feedback or suggestion here Field = Name Response = Field = Email Response = Field = Business Unit Response = The "Suggestion" field works fine, but the Name, Email and Business Unit fields all come through with blank responses. Any ideas? Thanks! Mark Hi All, I have 2 buttons that need to be placed side by side and link to Paypal. I have used the "display:inline" on both forms and with the fields I need to hide, the "type=hidden" When I view the page in Firefox all looks, but in IE, although the hidden fields are hidden, they are still taking up space. So the two buttons are not sitting next to each other, there is a big gap where the 'hidden' layers would be. Anyone have any ideas how I can get around this? Many thanks Hi everyone, What I am asking is more complicated than the thread title says. Can someone please tell me how, or post some code to show how I can make input fields with these properties: 1. Make text appear in an input field whilst off focus but dissapear whilst on focus, re-appear again if put back on focus. 2. The user can type text in the field and edit it and when the input field is off focus the text he wrote remains there. 3. If the user completely erases the text he wrote and puts the input field off focus the default text (stated in 1.) re-appears. 4. Make a password input field without the default text (1.) being displayed as stars (hidden charaters) with same features as 1. , 2. , and 3. ofcourse. Can anyone please help me?... Evan I'm trying to create a website with fields that our accounts can just add in the numerical value and the formulas will do the rest. It's for a company intranet site. its a server running Windows Server 03 using IIS to run the site. kinda like a web based excel sheet, with out the spreadsheet look. Hi all, I have an exam form wherein a student fills up all the details of the exam ad clicks on submit. The data is stored in an access database. I need to send all the fields in the form to an address specified in the form field as well as a confirmation email to a specific address. Please let me know how do i resolve this Regards, Nimish. |