this is the form that i use to retrive the data from the database to be updated.. the problem is with the gender field..
i have tested the objRS("gender ") which it really did get the value from the database eg male . but it just seems can't make the radio button to be checked.. Code:
But one of my fields is based on input from a radio input (three inputs with a value of 1,2,3). Since they all have the same name using the code above will not set they value for any of them. Anybody else run into this, or have a suggested way I should do this.
I have a group of radio buttons with the same name (which are in turn generated by the database). Since they share the same name, I can select only one of them.
Now I have another radio button which is not a part of the above group, but this radio button opens up a report which has different set of parameters to open a crystal report.
Now I want to know how to select only one radio button. Either from the group or this single radio button. User can select only 1 radio button at a time. Code:
I have two radio button and one input filed on my form. What I want a do when user change the selection then I want a display the today date into enterdate input filed. Then later I can add this date into database. How can I do that.
I have a search form. It has 2 radio buttons - 'all words' and 'any words'. The 'all words' is checked when the page is loaded. If the user checks the second radio button, then searches, on the results page (the search inputs stay at the top of the page as the form submits to itself), the checked radio button goes back to its checked default of 'all words'. Is there any way of making the checked button stay on the button the user clicked when going to the results page? Hope this makes sense.
i need your help, i have a form with 2 radio buttons(title1 and title2), a textbox and a submit button,(the form is called search and its posting to searchresults.asp) and i have 2 procs corresponding to each radio button.
what i want to do is,when a search button is clicked, radio button value checked must execute a specific proc(meaning the value must be passed to searchresults.asp and execute a proc accordingly)
If i design a page(registration) in html.Can i use 2 radio button inside 1 from which method is post.If 1end user click 1radio buttonthen corresponding some text field will visible and vice versa for another radio button.after filling the values click submit to hold all the values.Can it be possible if yes then how can i do that?give me tutorial or anything which can guide me reagaring this.
I am displaying a student id and then the name the student id is stored in a radio button and when a user selects the radio button i refresh the page and display all the information for that student
whats happening is the user selects a student and the page is refreshed but the radio button is unchecked after the student is selectedi have a if loop to check but its not working.can any one tell me why is it so?
I have a page that displays records from a table. I have a form on the page that contains radio buttons so that the user can choose the types of records to display. This works fine and the display is changed when the user selects a radio button. When the page displays the records, the radio button the user selected is not highlighted. How can I show the radio button selected?
I currently have 3 radio buttons... depending on which button is selected It writes a value to SQL... how can i get the page to remember which value was selected and have that value remain selected when the page reloads??!
I have 3 Radio buttons that have the values 1,2,3 attached to them.... I'd like to be able to post the value to SQL according to which Radio Button is selected....
I am using a SQL Server database. I am using a bit datatype. O is true and 1 is False. How do I get the radio button to have the correct value checked for a certain record?
Question: Is there a way to create a dynamic page where if the user selects a recordset by the click of a radio button, it will display that recordset and if he clicks on a secod radio button will display a different recordset?
If there is, can someone show me? I was thinking that you would probably have to create a function for each radio button. For example: Code:
But i want the answer value to be a value from a database. Is that possible? value="request.querystring("Answer2") Where Answer2 is the field name? Is that wrong?
And for the code to check if it's right i want it to be able to compare it to a value in the database. (CHECK.ASP) Code:
i creating a page allowing the user to edit and update their personal information. i have a field call gender which consists of 2 radio button which value is male and female. i save the value in the database. now the problem is how can i retrieve back the value which in radio button form showing which has been selected?
i have a search form and wanted to know if I can direct a user to another page when they click onto a radio button.Example:
I have the following two buttons. If a user clicks onto the "trade" button, it does nothing.If the user clicks onto the "wholesale" radio button, I would like it to direct the user to the "login.asp page.
I have a radio button. If the user selects it for the first time it is marked as checked but I want to uncheck it as soon as the user clicks on it the second time. In other words if the button is previously selected it should deselect it else it should be selected.
Now this i thought would be very simple but is not quite panning out that way I have 7 groups of radio buttons on a page, these are dynamically created, and a value is assigned to each button.
What i want is for each radio button on that page to have its value placed in a database with a id number, the id number i can get in but for some reason the value of the radio button doesnt show.
I'm wondering how I go about obtaining the value of a radio button and a list box in a form for validation.
I have it right now as
optCust = Request.Form("customer") - Radio button lstCountry = Request.Form("country").Item
And when I place them in my validation that gets passed to the address bar they do not store with the value they are given. Am I pulling them from the form wrong or is their a special way that it should be passed to the address bar of my redirect error page?
how to create data dynamically in a combo box after clicking on a radio button ? Data are retrieved using a store procedure from a SQL Server.
For example : Click Radio Button 1, the combo box should contains "A", "B", "C" Click Radio Button 2, the combo box should contains "E", "F", "G"
The data can change dynamically after getting results from SQL Server. Please shed some lights to me. I have been trying to find a solution to this for a the past few days.
I need help allowing a radio button to hold a value from my table. In my guilty field i have 1's and 0's, i want it to check my table and if there's a 1 in that field then mark as guilty if there's a 0 in that field them mark as not guilty, and have the ability to update the field with a 1 or a 0 based on what they check.
So basically I need them to be able to view the current status of the field and change it if needed. i thought if i just made the value of the radio button= rs guilty it would work but no such luck. Code:
<% for a = 0 to 10 Response.Write("<input name=""test"" type=""radio"" value=""" & a & """") if a = isinama("nilai1a") then Response.Write (" checked") end if Response.Write(">" ) next %>
why when i run at explorer the alert msg box appear said redirection limit for this url exceeded. Unable to load the requested page?
I am having 66 radio buttons on my page. Each ll be having 3 options yes,No or N/A. By default all will be set to No. My requirement is if i click on a button, value of all radio buttons should be set to N/A.
Im having a little trouble with a simple form request My form has a field for people to add the filename that they saved their document in. Once that is entered my submit page takes the filename and adds the hyperlink html and the mapped path to that directory That way even "less intelligent" people can add hyperlinks to the database The problem Im having is that i cant find the code to make it to where if the value of a radio button is true then not to request the hyperlink field.
Don't get me wrong I am very much a newb at this so I assume its really easy or there is something Im not grasping here. So I guess the question is, Is there a simple line of code to relate a radio button to another form field?
I move from one form to another when I click to a radio button. I can identify which radio button I clicked by trapping its value. but my problem is that there are a set of radio buttons followed by values being displayed from a join table.
I want to know the values displayed from the table. so that based on which I can do my further processing. Like the radio button is showing the name of student, his id, story id...and 2-3 more things. when I select the first radio button (its value = 0 ),
how can I know that the selected one is for which student_id and for which story_id.??? Code:
I have an ASP page and a CREGReports002.vbs file coded to export data to excel. I do this by building variables in a stored procedure. The ASP page has text boxes, list boxes, and radio buttons. I also placed two buttons on the form. One submits the form to redirect to the Crystal Web Viewer (genCREGReports.ASP).
The other one executes VB code in a vbs document that spawns some more code to run a stored procedure with the values from the ASP page entries that where entered into the text boxes, list boxes, and radio buttons and the launches ExcelOut.asp to export the data. All data is captured except for the radio buttons. How do I capture the radio button setting without submitting the form? What is the syntax to capture the value from the radio button? Code:
The user will choose either yes or no from the radio button in web page for all the questions.
The data (yes or no) will be store in the database for future information. I try to use the different name for both radio buttons(yes and no) but the function for the radio button doesn't work anymore(the user can check both of the radio button). so, i have to put the same name for both radio buttons.
The problem is, how can i track the data that user key in (whether yes or not) if i put the same name for both radio button??
Besides that, can anyone please tell me where can I get the MSE7.exe program?? This program doesn't exists in my computer in folder office10. The office that i used is microsoft office 2000.