Ckeckbox/option Button Selection
I have got a website that you can request a file/download from but need to protect it, in as must as offer then either to send it to them via email or post and these details are collected @ registration time via a "cookie" .
But I thought a checkbox/option button would be good for the selection of email or post but I just don't know how to post which they have selected.
View Replies
ADVERTISEMENT
I am trying to add record to the database (Ms Access) from a ASP page, which is the easy part. Now I am faced with a simple but hard to me problem. I've a select menu where user can pick multiple value, but when there's a option is not there I was user to be able enter a new option vale and select it.
right now I am redirecting them to a page where by they can add but in process I am lossing the information they entred before hand in other fields.
what I like to do is: from the page where user enter info be able to put a pop-up window then ask them for info and copy the info and add to the option box for selection without reloading the page. is this possible?
View Replies
View Related
I am trying to get a font of a label to change to times new roman when an option button is clicked, i have tried this:
Private Sub optHigh_Click()
lblHeading.FontName=Times New Roman
End Sub
This is wrong but i cant work out how to get the font to change,
View Replies
View Related
I created one ASP page for Online Test. i get all the questions from database. In home page if user select the topic and no. of questions then its displayed in second page.
My trouble in Second Page, becs I show the questions like:
Ques No. Ques Name
====== =========
1. XXXXXXXXX
(1) ans1(Option Button)
(2) ans2
(3) ans3
(4) ans4
untill the users selection of question numbers. all this are created dynamically. if user submit the answers next page shows the result. How can i get the User answer(Option button) in Text Box or other ways.
View Replies
View Related
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
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
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.
View Replies
View Related
I need to have my ASP form "post" action=? pass to a different confirmation page based on a radio button selection on the form, after submit.
Depending on which radio button they click on, they will receive the same confirmation but then be redirected to a selection specific page, based on the radio button selection. I'm assuming I need to create several different action pages, each with a different redirect, then have the radio button determine which action page the form is directed to based on the radio button selection.
I've tried several different options, such as creating a variable on the form, sDirectionVar, with redirect conditions, but I don't know how to call that on submit? I'm not sure I'm even going in the right direction.
View Replies
View Related
I want to understand the difference between submit button and regular button: <input type="submit"> and <input type="button">. My understanding is that submit button will send the entire HTML form to the web server, but regular button won't.
I have a problem that needs to pass HTML elements data back and forth in several ASP pages. I am using regular button to do that. But what's the approaches?
View Replies
View Related
i want to do a voting, which let user select. how can i count the number of user vote?
n... how can i accumulate each slection and display a chart by percent?
example:
.apple
.beer
View Replies
View Related
I have a web page where a user can select a location out of a possibility of 5. I also give them the option of seraching all 5.
However when I put this in it get rids of the drop down box and puts them all in an open box about 2 inches in length. Which isn't too bad but if I say had 20 locations it would take up half the page.
View Replies
View Related
I have a form field called Streets that contains 'HIGH STREET,MAIN STREET'
I have a field in my access db called StreetName a single record would contain one street and I want to return all records that have a StreetName in the Streets field. How would I go about this?
View Replies
View Related
I do not write the whole code.
I have a IF statement like the following.
if request.Form("UyeTipi") = 1 then
strsql=select ****
else if request.Form("UyeTipi") = 2 then
strsql2=select *****
this is the recordset
set objRecordset = objConnection.Execute(strSql)
With loop I want to display data either from "strsql1" or "strsql2"
I create table like the following with loop
Code:
View Replies
View Related
I am working in an asp/Vb script environment.In a form I have 2 combo boxes.first is main criteria and second one is sub criteria.in the first combo I have made predefined enteris(the headers of the table)say a table is:emp and its headers are:empid,empname,L1manager,accounts,location etc.
on a change event of first combo,I want to fetch the details from the table.say if I selected Ename in first combo.the second combo should automatically fetch the listed Enames and vice versa.
View Replies
View Related
My left frame contains a combo box which loads the selected record in the main frame.The combo box retrieves concatenated 3 columns from my db. E.g. ID, Firstname & Surname.
Because of this, it seems to blow out the size of the frame,thus ruining my nav system.Does anyone know how I can restrict the box width, but allow the drop down part to remain wide?
View Replies
View Related
How do i select a completly random record from a database?
sql = select (random) from tbl, sort of thing.
View Replies
View Related
I have searched through a lot of paging articles. But I have not found any specific recommendations for my issue. I have a large record set that I need to page through (1000 records). But on each page (100 records) I must be able to select some rows, add
some comment for each and sumarize them on-the fly.
if I page forward and backward, I still need to see before selected rows with comments and I can even deselect or edit some of them. Should I store all this information (selection, comment, price) in session variables or is there a better way?
View Replies
View Related
I am working in an asp/Vb script environment. In a form I have 2 combo boxes. first is main criteria and second one is sub criteria. in the first combo I have made predefined enteris(the headers of the table) say a table is:emp and its headers are:empid,empname,L1manager,accounts,location etc.
on a change event of first combo,I want to fetch the details from the table. say if I selected Ename in first combo. the second combo should automatically fetch the listed Enames and vice versa.
View Replies
View Related
My site is running on IIS5.0 hosted on win2k service pack 4 m/c. We are going to procure high end windows M/C . I seek your advice in selecting right os and version of IIS. My comp is a bit hesitant to migrate to .net too (I don’t know planning of comp in future).My requirement should be
1) Same Program should run on new server with minimum changes.
2) If required we can migrate to .net (although planning is not in near future and I even don’t know what is needed for that)
Your advice in this regard is highly appreciated. Also if you can explain in short about new feature in IIS6.0 (or upper version). Which version of IIS come along with Windows 2003 server, I really have very little knowledge in this field.
View Replies
View Related
i am using frontpage ,ASP, and some javascript. how do you create a START-> ALL PROGRAMS selection option. you place the mouse over the "all programs" and you got all selection related to "all programs"
i want to do the same thing with data from a database. how do i do this?
View Replies
View Related
how can i create an option tag whith the onpick event?
View Replies
View Related
if the default value of my my option value i want to retrieve it from the record if it's not empty. how can i do it? for example Code:
View Replies
View Related
Is there a way I can iterate an option value using ASP so I can pass in multiple values on submit to the Federated item? Here's an example of pseudocode of what I'm trying to do:
<SELECT name="grpNm" style="LEFT: 8px; WIDTH: 213px; TOP: 1px">
<OPTION value="XXXXXXXXXXXXXXX">Federated
</OPTION>
</SELECT>
View Replies
View Related
Below is an extract from a form that i am writing. I need the user to be able to have a drop down menu of languages. How do I use the 'option value' command in ASP like you can do in HTML.If someone could amend my code to give me a couple of language options so I can get an idea of how it is down.
<tr id="r_Lang">
<td class="ewTableHeader"><span>Language<span class='ewmsg'> *</span></span></td>
<td class="ewTableAltRow"><span id="cb_x_Lang">
<input type="text" name="x_Lang" id="x_Lang" size="30" maxlength="25" value="<%= Server.HTMLEncode(x_Lang&"") %>">
</span></td>
</tr>
View Replies
View Related
i have a dynamically created drop down menu where the values are pulled from our database. i've been trying with no success to pass those values to the page but it never works.
how do you pass the values from the <option value="<%=...%></option>? i thought you recalled it in the sql statement like:
Code:
" WHERE Something = '" & Request.Form("optionvalue") & "' "
View Replies
View Related
I have a selection list of the 50 states that is not dynamically built. If &state=CA is in the query string i want the selection list to automatically select CA out of the selection list since that is what was in the querystring. Know what I mean?
View Replies
View Related
Has anyone used the UPS e-tools such as address verification and rate selection service? I'm trying to implement it on our site and I would just about kill to see some source code. It's a little above my coding level and I just can't seem to figure it out.
The documentation goes into a VB sample, but I dont think that is necessary since you can perform an HTTP POST and parse XML in an ASP page.
View Replies
View Related
I am trying to show some stats. However I have four levels to choose from, which are shown as true/false. I want to count each entry by employee and categorize it only under the highest level achieved. One entry can have multiply Levels. Hope this make sense my mind is a little foggy today.
Here is the sql statement I am using. I have added the levels as or however I want to count each level but only the highest level achived. I don't know if it would be easier to do this in a SQL statement or in vb script. Code:
View Replies
View Related
I have a webpage where there are two drop down menues. From each of them, one item can be selected. I need code to test if there was an item selected from both the drop down menus. How do I do this? Do use ASP or HTML?
View Replies
View Related
I have the following drop down menu on a html page and when submitting
i would like to call out on asp what someone has selected.
<select size="1" name="type">
<option value="Prospect">Prospect</option>
<option value="Suspect">Suspect</option>
<option value="Qualified">Qualified</option>
<option value="Proposed">Proposed</option>
<option value="Closed">Closed</option>
<option value="Lost">Lost</option>
</select></b></p>
I also have regular fields on the html page which works great when
submitting but for some reason i can't get the dropdown selection to
display Code:
View Replies
View Related
How can i retrive random row of table in ASP.i have a table created in
access2003 and i want to show randomly selected row to the client.is
there any way to do this using recordset object.
View Replies
View Related
I have a script that has worked flawlessly for a while. It allows a user to select from a listbox - with highlighted lines already of their settings, multiple lines (CTRL-SHFT) and the page updates the database properly.
Now, for some reason, I have a user that when we load their settings, all is fine. If I submit the form, immediately, with no new additional selections, all works fine. But, if I add even one new selection on the list box by holding CTRL-SHFT, the submit button no longer works at all.
This user does have a long list of selections already, I am just wondering if I may have hit a max some how?
View Replies
View Related
Is there an SQL query which select an item from the database randomely!
View Replies
View Related