HTML - Enable Field Based On Pull Down Selection
Hi,
I have a simple form he http://www.wirelessbroadband.net.au/wap/pay.html I would like to preload and disable the 'Mobile No. ' field based on the pulldown selection of field 'Preset' for example : if the pulldown select was set to 'Elijah Wood', then the 'Mobile No.' field would display 63917345345 and would be disabled stopping any editing. The only time the 'Mobile No.' field would function like a nornal field, is when the the 'enter cell number' option is selected. your help would be greatly appricated. mike Similar TutorialsHey All! Am new to this HTML code been a VB programer for a while now!!! I am trying to enable radio buttons depending on what a use selects from a drop down combo box!!!!! help please here is what have already done!!! But this done not work!!!! <div> <select name="printer" size="1" id="printer" class="combo_box_txt"><?php /* onChange="ticket_print.submit(); */ ?> <option value="">Select Printer</option> <option value="KESW_LABELS2">ASM Printer</option> <option value="KESW_LABELS6">Buyers Printer</option> <option value="KESW_LABELS7">Reciving Printer</option> </select> </div> <?php if ( $printer == "") { ?> <strong>Select your ticket Size :</strong> <div> <input type="radio" name="size_ticket" id="size_ticket" value="_lge" disabled>Large <input type="radio" name="size_ticket" id="size_ticket" value="_med" disabled>Medium </div> <div class="submit"> <button style="font-size:20px; ; color:white; background-color:#FF0000; height:40px; width:120px;" name="publish_id" value="PRINT" type="submit" disabled>PRINT</button> <button style="font-size:20px; font-weight:bold; color:white; background-color:#FF0000; height:40px; width:120px;" name="publish_id" value="PDF" type="submit">PDF</button> </div> <?php } else { ?> </div> <strong>Select your ticket Size :</strong> <div> <input type="radio" name="size_ticket" id="size_ticket" value="_lge" checked>Large <input type="radio" name="size_ticket" id="size_ticket" value="_med" >Medium </div> <div class="submit"> <button style="font-size:20px; ; color:white; background-color:#FF0000; height:40px; width:120px;" name="publish_id" value="PRINT" type="submit" >PRINT</button> <button style="font-size:20px; font-weight:bold; color:white; background-color:#FF0000; height:40px; width:120px;" name="publish_id" value="PDF" type="submit">PDF</button> </div> <?php } ?> thanks in advance!!! I have 3 Radio buttons . When user selects first Radio button a page(demo.html for example) should be displayed. similarly when he selects second radio button another page should be displayed. can anybody help me out solving this issue. Hi guys, First of all, I'd like to apologize for my writing skills as I'm from a non english-speaking country and I moved to Australia not long ago. Anyway, I'm trying to help a friend developing a website and I'm having some trouble getting the page to look like what he wants. I am an absolute rookie in website development and I'm discovering Dreamweaver as I speak. I managed to understand a few concepts based on what I know in VBA in Excel and tried to use some templates I found on the net. The last part didn't go really well and I decided to get rid of what I tried to make my explanations as clear as possible. Basically, I have a drop down menu on the left side of the page that works quite well at the moment.Wwhat I want to do is : the user goes over the first link of the drop down menu (called "General for Sale" under the section "Buying") and when he clicks on it, he loads on the right side the content of another page called "generalforsale.html. All of this obviously without refreshing the whole page and with the option of clicking on another section from the drop down menu to load another page... And all of this knowing that I'd like one specific page to be displayed on the left when the user first arrives on the website that would then be replaced by a page, depending on what he selects from the drop down menu. I have honestly tried everything I found and could understand, unsuccessfully... I have attached a lighter version of what I'm trying to do in case one of you guys has the time to have a look. I completely understand if this is not the policy of the forum and therefor apologize in advance. Thanks for reading me and for your help :-) Sub I need to update a field based off date. What I want to do is have a hidden date field that would then add to another field to give me a number based off the date. I did this in excel with this formala: =(TODAY()-A4)+B4 In A4 I have my date entered. In b4 I have the number I want to add to the date. The answer is then displayed in whatever cell I put this formula in. I need to do the same thing in HTML. Any help appreciated. Hi Experts, I am designing a webpage where based on the year selection the associated years webtable needs to be displayed in the webpage. Pls give som suggestions and if possible the code on to how to code this using HTML and Jav Script. I know I have to write afunction and then call the fn based on the input.but need your help on this. Thanks, Bsquare Hi, Is there any way to make the "standard" pull down menu that is predefined in html (the pull down form that front page provides) function with links to different pages WITHOUT USING JAVASCRIPT. I am using sharepoint that has security that blocks links that use scripting. Or, is there any way to use this pull down menu with javascript in sharepoint without a popup blocker interviening? Any help or suggestions much appreciated. thanks, joe sal Hi, i'm making a website for sim city 2000 (yes I know this is an old game) and I wanted to know if anyone has an html code that would enable user uploads so that I could allow users on my site to upload their cities and tile sets? If someone has the code I would greatly apprecieate it if they would share it with me. thanks. Hello iw want to use a lis tor menu box to create a pull down menu which each option links to another page via a sumbit buton how do i do this. thanks everyone Hello, I'm having a bit of trouble pulling information from a text box. What I would like to do is this: 1) User enters a number in a text box 2) User clicks a submit button (or link, whatever works) 3) The data from the text box is inserted into a pre-defined link For example, the link could be http://mysite.com/view[project], where [project] is the data from the text box. If I entered '12345' in the text box, and then clicked submit, I would like a new page to open up to the site http://mysite.com/view12345. Hopefully that made sense... Is this even possible? Do you know of a better way to get the desired result? IE7 sometimes displays messages in the yellow bar at the top of a page regarding active content running on the page. This happens when you have JavaScript running in the page. Also with Flash it's now required to click the Flash control to enable it. Some sites however, like Nokia.com for example have Flash embedded but IE7 doesn't ask me to click the thing to enable it. How do they do this? Is it also possible to tell IE7 that my JavaScript is not malicious and have it not display the message to people that will visit my site with IE7? Hi I run a website for a local football team. On the website I have a section for statistics, ie appearances goals etc and a player profile page. What I would like to do is to pull the stats to the player profile page. So when you access a profile you can see how many appearances and goals that particular play has. I have the player stats saved in an excel spreadsheet which I just update and save as a webpage each week. Example player profile: http://www.jordanstownfc.com/p_mbrannigan.html Stats page: http://www.jordanstownfc.com/stats.html Any help would be greatly appreciated! Eoin Hey, I was wondering if there's any way (without Javascript, I wouldn't mind PHP though) to draw a value (say a persons name) from one HTML page, to a new window with, say, a comment box, and the person they are commenting about is already typed out for them, or stored hidden somewhere. Each different page would link to the same comment box, but the name value would be different depending on WHO they want to comment on. Hello! I've got a form called 'register_form1' on my website and, at first, the submit button is disabled (whether with disabled="true" or with a short javascript mybutton.disabled='true'). After inputing text in a few input areas, I would like the button to enable. And that is done by a short javascript. But, when submiting, the POST array is empty... $name, $username, $date are null strings (I suppose). the php file ....: PHP Code: <?php $name = $_POST['inputname']; echo($name); .................. and so on ?> On the other hand, if the button is enabled and never disabled, the POST method works. I've also tried the following: I changed the type of the button to 'button', not to 'submit', and then, when it was enabled, at a given moment (onClick event), I called myForm.submit(). Same results, nothing happened. Any help is welcome. Thank you in advance. Andrei Hi. I am trying to create a page containg 2 frames, right frame, and mainFrame. I am using the right frame to allow users to click links to remote sites browsable within the mainFrame. However, most of these sites require cookies and keep opening links in a new window. Is there a way to enable 3rd party cookies within frames, and to also disable links within the mainFrame from opening in a new window? p.s. I know Firefox allows users to use 3rd party cookies in frames. Thanks Hello all I'm writing a mash up that has drag-able objects the problem is when I drag the object too fast my browser is selecting the text behind the object. So the screen behind the object keeps flashing blue. Is there a way to disable selection for a text block or change the color of what I select. Hello, I am semi new to HTML and was wondering if there is an easy way to adjust a price.. once a user has selected something from a selection box.. so say they pick an item for 10$ the price field then increases 10$.. same for if they downgrade price decreases. any ideas. Hey, I have a script at present which pre-loads 6 images and displays them on screen. I want a user to be able to select a checkbox next to the images so they can select which ones they want to use. On clicking continue the images selected are displayed on the next screen. Please can you help with coding for this as I am not getting very far. Thanks Hi all, I have a form in dreamweaver that consists of a couple of textboxes and two list boxes. I would like to make listbox2 disabled until either of the bottom two selections from listbox1 have been selected. Is that possible? Thanks very much, Dan Hey im making a gaming gear review site and i want to add a Selection guide to help people choose the right gear for them. Link below is something what i am thinking about but using drop down lists instead. http://www2.razerzone.com/MouseGuide/configurator/ i know how to make a drop down lists but i don't know how to link the information together also how would i produce the final result. Any help would be appreciated. Hi.. I am having a html table with three columns and the rows are dynamic. I need to have a multiple selection of the rows and the value need to checked using javascript. I dont want any check box to be used... Can anyone help in getting this... |