Carry Two Values From Radio Value...

I have an ASP page with a form and the following code:

..... type=Radio Checked name=selectserial value=" &
RS("PSL_F_Serial").....

Tis will carry over the value of RS("PSL_F_Serial"), but I also have
another value which needs to be carried (2 values per radio button),
RS("PSL_L_Serial").

Can I send two sets of data this way, if so, how?

If this is possible, on the next page, how can I retrieve both values
into seperate variables ?

View Replies


ADVERTISEMENT

Checking Radio Button Values

I'm using a radio button in a form and I'm requesting it in the processing page. The name of the radio button is box and I want to say something like..

if box (the value I gave the request.form("box") = checked then
boxval="1"

what's the correct term for checked? Because that's the part not working.

View Replies View Related

Multiple Values For Radio Buttons

I have a form on a web page with a number of radio buttons bound to
the same field. Is it possible to set up the form so that users can
select more than one radio button to submit multiple values to a field
in the way that you can, for example, in a drop down field?

View Replies View Related

Assign Values To Repeated Radio Buttons

I am bringing in a repeated field from a database and I would like to assign values to radio buttons to be associated with each record. The number of repeated fields will be different for each person, so I cannot enter values for each repeated record. I need a way to assign a variable as well as a value to each record that is being brought in from the database. For instance:

Radio Button Value 3 4 5

Repeated Record 1 O O O
Repeated Record 2 O O O
Repeated Record 3 O O O

I had received some great code from Memnoch, but it created one group for the entire Repeated field, so I was only able to select one radio button for all of the repeated fields. I need to select them seperately and I then need to Request the variable so that i can add, multiply and divide that variable with other repeated variables.

View Replies View Related

Radio Button, Check Box, Text Area Values In Sessi

I have a radio button, a check box and a text box in a web page. From this page, I go to a series of other pages. In one of the following webpages I am providing an option to come back to the first page which has the radio button, check box and the text box.

When doing so, I need to retain the values I originally checked in teh radio button and the text box, and also the text in the text box. I understand that I need to carry it through a session variable, but I dont know how I can do it.

View Replies View Related

Carry # In Link

Is there a special way you can go about carrying the number sign in a link? or is it just not possible?

View Replies View Related

Sessions Won't Carry Over

One page I am creating a session state, and testing it on the same page. It works. On another page, I am testing that the session is still in effect, as I set it's time out to 30 minutes, but it doesn't carry the session over... the session variables just won't stick.

View Replies View Related

Carry # In A Link

Is there a special way you can go about carrying the number sign in a link? or is it just not possible?

View Replies View Related

How To Validate One Radio Button Against Another Group Of Radio Buttons?

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:

View Replies View Related

Select All Radio Buttons When Clicked On A Certain Radio Button

what coding used to select all the radio buttons when clicked on a certain radio button? example is the delete of the mail of radio buttons?

View Replies View Related

Form Values With A File - Passing Values

I want to call a recordset so you can edit the details and then obviously pass the parameters onwards into the db. However, the user guide just says this:

To process other fields in the form, use the Form collection of the upload object the same way you would use the Form collection of the Request object. For example, if your form had a text element named UserName, your processing code would include: Code:

View Replies View Related

How To Convert Escape Values In To Actual Values

i need to convert the escape values which are by mistake updated in DB.
example:

this is a sample text string
is updated in DB as
this%20is%20a%20sample%20text%20string

here %20 is the space.

like wise there are many entries for :,'

is there way that i can update all this in a update statement?
or use asp to to update the records?

View Replies View Related

3 Radio Buttons

i have 3 radio buttons on the form plain simple form

<input type="radio" name="Cars" id="Cars" value="vehicles_Cars">Cars
<input type="radio" name="Trucks" id="Trucks" value="vehicles_Trucks">Trucks
<input type="radio" name="Bicyles" id="Bicyles" value="vehicles_Bicyles">Bicyles

what i want to do is when the user clicks on one of them show a different form
if the user selects cars show cars forms this form will have different fields and different validation
if the user clicks on trucks show trucks form and that will have different fields and so on

View Replies View Related

Radio Button

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.

input type="radio" name="GType" value="Pending" <%=iif(GApproval="Pending","checked","")%>[PHPNET][/PHPNET]>Pending

<input type="radio" name="GType" value="Approve" <%=iif(GApproval ="Approve","checked","")%>>Approve

<input type=text name=enterdate value="” maxlength=5 size=3>

View Replies View Related

Radio Button

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.

<input type='radio' name='mode' value='allwords' CHECKED>
<input type='radio' name='mode' value=anywords'>

View Replies View Related

Radio Button Value

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)

View Replies View Related

Radio Button

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.

View Replies View Related

Radio Broadcasting

I would like to allow users to listen to live radio broadcasting within my ASP page, is this possible?show me some code?

View Replies View Related

Radio Button

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?

View Replies View Related

Radio BTN Results

I have a form email that was built in a .html doc that posts to a formsubmit.asp page. I have radio buttons in the form email-how do I get the results of the radio button selection to post in the email?

View Replies View Related

Value Of Radio Button

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?

View Replies View Related

Checking Radio

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'email =ghb@uwm.edu'.
/sois/process.asp, line 142

strSQL = "SELECT * FROM email WHERE email =" & email & ""

set objNO = server.createobject("ADODB.Recordset")
142: objNO.open strSQL, db, 1,3

View Replies View Related

WebCam With Radio

I need to start a project by putting a Radio on the Internet and at the same time 10 - 20 different WebCams at strategic points in the country.. how can I do this and what should I keep in mind (Technical details).

Never did something with radio or WebCam's before.. only normal Web Designing and ASP programming. Should I handle everything with a Linux Server and SQL Dbase?

View Replies View Related

2 Radio Buttons

i have 2 radio buttons i want to fire a alert if the first one is selected here is my code

<input type="radio" name="vehicles" value="Cars"/>Cars
<input type="radio" name="vehicles" value="Bikes"/>Bikes

and here is the javascript

if(document.frm1.vehicles[0].checked)
{
alert("Cars was selected");
return false;
}

View Replies View Related

How To Extract Indiviual Values From A Set Of Values

I have a variable SET which has the value Of 1, 2, 3, .., N.

SET=val1, val2, val3, val4, ..., valN

What is the commend or procedure to extract individual values, val1, val2, ...

View Replies View Related

Radio Button Question

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??!

View Replies View Related

Radio Button Updating SQL

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....

View Replies View Related

Radio Button Selection

I have this code the value thats stored in table is Yes in College_Assistance field

so i want to select the Yes radio button

but its not selecting

when i see he view source it doesnt say checked="true"

any idea why. Code:

View Replies View Related

Disable Radio Button

here is the script

<input <%If (CStr((Recordset1.Fields.Item("co1").Value)) = CStr("Mercedes")) Then Response.Write("checked=""checked""") : Response.Write("")%> name="radio1" type="radio" id="bbd" value="Mercedes">

I need the radio button disabled if the value in the string matches "Mercedes" and not checked. How do I change it?

View Replies View Related

Modifying A Radio Button

I cannot remember how you modify a radio button value that comes from a database. Here's my code:

<tr>

<td align="right"><font face="Arial" size=-1><strong>

Show Email Address?</strong></font></td>

<td> <input type="radio" name="radEmail" value="<%=ShowEmail%>" checked>

Yes

<input type="radio" name="radEmail" value=No>

No</td>

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?

View Replies View Related

Radio Button Selection

I have 4 radio buttons

<input type="radio" name="One" value="One" checked
One
<input type="radio" name="Two" value="two"
Two
<input type="radio" name="Three" value="Three"
Three
<input type="radio" name="Fout" value="Four" >
Four

How do i remember wich one was selected when the page is posted back.Meaning having all options back with the selected one being checked.

View Replies View Related

Radio Button Recordsets

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:

View Replies View Related

How To Repopulate My Radio Buttons

I have a form for editing data and it has a set of radio buttons, what I need to know is how I make the correct radio button be ticked when I load the form. Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved