radio button to be displayed in a table on that same page. so if someone select option 1, it would display option 1's value in the table at the bottom of the page. I know i could do this in php when i submit the form but I need the application to not need to refresh the page if possible. Below is a link to where i have the application and here is the code.
I want to be able to display the a 12hr clock, or 24 hr clock depending on which radio button is selected, but I cannot get the code to work.
I have 3 radio buttons with the same name ("myradio"). The value of each is a different URL (eg. value="http:[url]...)I have a link underneath these (<a href="#">Send</a>). I would like the selected radio button's value to be inserted into the href of the link, and if the user selects a different radio button that this changes.
Im trying to configuere a form that a.a radio buttons that allow the user to choose between quarters, nickels, dimes and pennies and show image when click on my radio button.how to get the image to display whenthey click on the radio button?
if radio button checked display div #something else display nothing if un checkedcurrently I have this and it works but when I click another radio option the div that was activated before stays there. Want a div to show only if certain radio button is checked and if not checked to hide.
I have three radio buttons and one textbox. If user select one of those radio buttons and type something in the textbox which is the value of the textbox, I want that value to be the value of the radio button that is selected, now the user may enter the value into the text box and then select the radio button or first select a radio button then enter something to the textbox, anyway the value of radio button should be equal to textbox value that user enter!
I have some code that runs when a radio button is clicked (and thereby selected) but the problem I am having is that when I refresh the page, the radio button is still selected, but the associated code does not run. How can I check to see if a radio button is selected in this situation so that I can apply the appropriate code?
I have a long list of events and I want somebody to be able to select one of those events & there will be a text box that shows the address pertaining to the event selected. Exactly how this website did here: http://svacpa.com/live-webinars-and-roundtables-with-demo/seminar-registration/
I want to achieve when first radio button is pressed form doesn't validate and when second radio button is pressed it does validate.I tried do it this way by assigning var to radio buttons an then checking that var on form submit but something is wrong:
I have a form that has four questions with yes no answers (using radio buttons) - if a user answers yes to any of the questions a textfield is revealed and they have to give details. I've firgured out the show/hide textfield but I want to use some form of form validation so that if a user selects Yes to any questions then the relevant textfields are required and must be filled in - so only the textfields in the questions with a Yes answer are required.
I found this post: [URL]...and the response by JMRKER was almost exactly what I wanted - the only problem I can't figure out how to extend his code to four possible text fields. I don't think I've explained this very well but hopefully you'll know what I mean.
getting the selected radio button and save it in the database. Here is my code:
I wanted to know which answers are selected and save those answers in the database with the corresponding question. I am using MYSQL as my database tool. I know how to use MYSQL and querying but I just don't know how to get the datas that I need.
I got a form page with 3 radio buttons. Radio button ,say A,B,C.billing and shipping address is what the form page consists of . Onclikc of A the user selects hide shipping address. On click of b , copy billing to shipping address as well and on click of C, user would type in a diff shipping address... All works fine.but when i submit the form, and if form not complete, the after validation forms gets all the value but do not retain the selected radio button and the shipping form elements disabled or hidden status..
When radio button "Owner_Regular_driver_the_same" = "yes" (select by default) then "Regular_driver_name" and "Regular_driver_ID_nr" must be disabled as per code in the script but after the page have been load the "Regular_driver_name" and "Regular_driver_ID_nr" is not disabled.
When click on "yes" radio button "Owner_Regular_driver_the_same" which is selected by default then the "Regular_driver_name" and "Regular_driver_ID_nr" fields are diabled.
Is is possible to have a Radio button, when selected, insert an image into a table(or something)? Each Radio button changing the previous image. I figure it would be an array, or maybe its a simple onclick, both of which I've tried, but I am fairly new to this. I'll show you the code, and hopefully you can figure out what I mean.
2 radio button and 2 text boxes, say them R1, T1, R2, T2when I select R1 then T1 is enabled , and T2 is disabled. when I select R2, then T1 is disable and T2 is enabled.Only, R1 or R2 can be selected (so giving them one name)
I have an online application used for grading students. On one of the pages, I have a table with two rows and each row has 16 cells. The upper row contains the letter grade (A, A-, B+, B, etc) and the lower row has a 16 radio buttons for selecting the appropriate grade. This all writes to a SQL server back-end and has been working fine for several semesters. Some faculty members have complained that it is hard to read and see which have been graded so far and which still need to be graded. It has been suggested that we change the background color of the selected letter grade to a different color. I have had some sucess with this, but haven't figured out how to "toggle" the color on and off based on the state of the radio button. I can get it to change color when selected, but the color persists if another radio button is selected. Does anyone have some sample code for this?