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.
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?
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 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.
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.
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 a form giftcert.html -that has text input boxes the user fills in and a link to the next page for the user to pick a gift card giftcards.asp -the user picks a gift card by radio buttons (over 100)grouped by name and then pushes a button to take them to the next page passing the value of the radio and image (here is the issue) giftcert.asp -this page displays the text boxes from the first page with the value already present (used asp to achieve) and the value of the radio button (a stock number - used asp to achieve) and i want a sample of the image attached to the stock number. how do i pass the image attached to the radio button from giftcards.asp to giftcert.asp i don't know where i am going wrong
a) how do i attach the image to the button do i use an onclick="pass src" and how b) how do i get the image to show up in giftcert.asp