Shows Tick Box Data
i want to do is to have an update form that shows tick box data which is read from an access database via asp and a dsn less connection string. Have achieved it with text boxes but can't for the life of me figure out how to do the same with tickboxes.
View Replies
ADVERTISEMENT
Ive set up a page with a apply/sumbit button on one page . when the user clicks either apply or sumbit button I want the following page to tick the checkbox . would I need asp coding or java and which page would code go into.
View Replies
View Related
how to makesure user tick on the any of the checkbox the page?
View Replies
View Related
i have a form on my page..
i have one textbox called
'bookername'
and another one called 'customername'
and a tick box called 'tickme'
the user fills in the booker name first..
they then move through the form..
they then get to the customername textbox..
basically when the user ticks the tickbox.. i want the name currently in the bookername textbox to be placed in the customername textbox..
i am guessing that this feature will probably need to be coded in javascript.. but seeing as you guys must deal a lot with forms.. someone will probably have done this before..
View Replies
View Related
in my web page, i would like to user to see a ticked checkbox should the database = True however, i cannot seems to be getting it. Would anybody be able to help me out? Code:
View Replies
View Related
I am trying to set up a contact page using Matt's FormMail ASP script (because my hosting is on a Windows server I am unable to use the easier Natemail PHP script)
It is simple enough to send an email to a single email address but I want to have a form with a choice of 4 email address's to send to that are chosen by way of a tickbox (it doesn't have to be a tickbox but that is what I prefer at the moment)
Does anybody know of a method to do this?
(I am using Adobe Golive CS2)
View Replies
View Related
After qeuering from Access I store the values of the recoredset (like rs.recordcount, rs.AbsolutePage) in variables in ASP, but when i display/use them later in the page it shows -1. but the page shows the queried data properly.
View Replies
View Related
<%@ Language=VBScript %>
<%
Response.Write "<SELECT id=select1 name=select1>"
Response.Write "<OPTION value=1>One</OPTION>"
Response.Write "<OPTION value=2>Two</OPTION>"
Response.Write "<OPTION value=3>Three</OPTION>"
Response.Write "</SELECT>"
%>
When open this page,select1 shows "One".I want when open the page,select1 shows none.That is to say,nothing is displayed in select1.
View Replies
View Related
Code:
FOR paging = 0 to recCount/20
IF paging = 0 THEN response.Write("Page") ELSE
Response.Write(" <a href=""favourites.asp?pageno=" & paging & """class=""textareatext"">" & paging+1 & "</a> ")
IF paging < recCount/20-1 THEN response.Write("-")
next%>
how do i not show 1 if there are less than 20 records?
View Replies
View Related
- we've form to be filled. and data will be mailed
- what happens is, mail shows up special characters in places of
commas, and other special characters inputted
following characters are shown in mail content
7E
%2
%0
what can be reason and how to overcome
View Replies
View Related
I have a Combobox and a textbox in my asp page. I want the value of Combobox in Onchange event shows in the textbox. this my code but it isnot correct.
<script Language="JavaScript">
function NavTo(a1)
{
document.forms[0].text1.value=a1
}
</Script>
<SELECT id=select1 name=select1 onchange=Navto(document.forms[0].select1.value)>
<OPTION value="1046">1046</OPTION>
<OPTION value="1045">1045</OPTION>
</select>
<INPUT type="text" id=text1 name=text1 >
View Replies
View Related
I have an asp page that outputs a word document. Wnen the user attempts to
open this page from a hyberlink in an email document the word document opens
fine but if they save then an action cancelled message appears in a browser
window. If you cut and paste this same link into IE and attempt to saves
there is no browser window opened.
If the user attempts to open instead of save the document it opens in a word
out side the browser. I am told this used to open up in word insdie the
browser.If you cut and paste the link into explorer and acess it from there
the word document is displayed in word inside the browser.
If I omit the content disposition header the word document opens inside a
browser no matter how it is opened however the save problem remains.
I do not want the browser window to remain open. Or if it must then I dont
want the ACTION Cacelled message. How can I control that
View Replies
View Related
I have an index.html and redirect in this index to an ASP-page (so a file called XXX.asp). The browser shows me the code of XXX.asp in stead of the layout of the form. How come ?
And when I access this index.html from another machine in the network, I got the error the page XXX.asp cannot be found ?
View Replies
View Related
Annoying problem on a server with IIS 5. [We have other
IIS 5 that show asp files just fine. I'm at a loss. ]
I can open htm, html, gif, jpg, all files except asp
files. The message when opening an asp file is:
"The page cannot be found...
blah blah blah
HTTP 404 - File not found"
I've looked everywhere. Permissions are okay with IUSR
and security since we can browse other files. The asp
files in question are NOT marked Hidden...
What can I do to make it render the asp files? Ideas?
View Replies
View Related
This is ASP and JScript.
I request a form variable:
var sReviewID = formatUndefined(Request.Form("ReviewID"), "");
Response.Write ("sReviewID: " + sReviewID + "<br>");
Function formUndefined is: Code:
View Replies
View Related
I have an asp page that I use to build the sql criteria for a Crystal report version 10.
The report writer page takes the criteria and supposedly passes the sql string with a where clause to the page that hase the viewer. Here is the code where I pass that script to the report viewer page: Code:
View Replies
View Related
I have a win2k server. I just installed running service pack 3, am just updating to service pack 4 now.
i normally get the error, windows is shutting down in 60mins. pleases save your work. and shows a path to c:winntsystem32lssas.exe
I am wondering if this is a lasser worm or what ? cos i have had to format a couple of times, but still get the error.
what do i do ? Any Advice ?
View Replies
View Related
I'm using DW MX 2004 to build an asp based eStore. I have a checkout page created with both the billing and shipping information in the same form. I'd like to add some code and a button to activate it to copy the code to the shipping info (but it can't submit form). Also the State choice is a drop down list based on a recordset. There are other behaviors attached.
View Replies
View Related
We are running into problems with the script below, whose purpose is to allow users to choose values from drop downs populated by an MS Access DB.
THE RESULTS:
(returns a blank page with only HTML Titles)
THE SCRIPT:
(you may notice this is a modified sample script): Code:
View Replies
View Related
Dreamweaver created code to update to data base. But when testing on website i get the following message. I have no clue what it might be.
Microsoft JET Database Engine error '80040e14'
Syntax error in UPDATE statement.
/admin/update.asp, line 111
line 11 is strName.execute
I read it might be forbiden characters in the data base field names or spaces...
but i don't have that. the names are userName, userLevel, ID, Password.
View Replies
View Related
This seems a very complicated task, so I welcome any
input. My boss wants a data grid or matrix of the top 6
orders with ordered items, and products, for a particular
customer and he wants to see it like this:
products down the left side
orders across the top
number of items under the respective order number column
across from the corresponding product.
I hope that makes sense.
I have three tables. Products, Orders, Orderitems. I
don't even know where to start. Many thanks in advance
for any input offered.
View Replies
View Related
how do i get data from a user on one page and display the result on the other page
actually i have written a prgoram that displays a set of checkboxes and based on the checkboxes selected the related data is displayed .but the problem is the data is displayed on the same page below the list of check boxes. Code:
View Replies
View Related
I have a form that has the option to upload a file at the bottom. If you select a file it works fine but if you leave file selection blank the forms bombs. This is not how I want it to work. On the form you need to use ENCTYPE="multipart/form-data" in the form tag.
On the processing page I need to use Set to assign a variable to the form data. I tried using IF on the variable assigned to the file path but it bombs out telling me "This function is not supported". Is there any other way I can check to see if curQes has a value assigned to it?
View Replies
View Related
how to call a csv file into a data array. I was told I can use :
csvArr = split(csvLine, ",")
So long as I have no embedded commas in any field. what Im not clear on is the syntax.
how do I call the csv into the script (so the script knows to use the csv)
View Replies
View Related
I only want to input the following information if it is not a zero length string. Any
ideas on how to do it?
Crate&Barrel = Request.Form("Crate&Barrel")
Crate&Barreladdress = Request.Form("Crate&Barreladdress")
View Replies
View Related
How can I display data from an XML file in ASP?I want to use an XML file instead of an Access or SQL database and would like to display this information the same as I would if I were using Access or SQL as the datasource.
View Replies
View Related
Can You Grab Data From Multiple Recordsets?I want to build a search page, but I have data in about 6 databases.
View Replies
View Related
how to add new data. i need to add new data after display the record from database. i click new button and the textbox will be empty. Wat is the code for add new data?
View Replies
View Related
i'm trying to figure out how to use the same page to get different output using .asp?id=.
I have a db table with 5 records & want to on my page to be able to with a listbox/menu be able to switch between these 5 records using the same page.
View Replies
View Related
I had write an asp file to get data from an xml named "data.xml" and below is the coding:
Dim xml
Set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = False
xml.load (Server.MapPath("data.xml"))
Dim fText1, fText2
fText1 = xml.documentElement.childNodes(0).text
fText2 = xml.documentElement.childNodes(1).text
Set xml = Nothing
It's all Ok and can run. But my problem here is I want to call an xml file that I don't know its name (not "data.xml"). The xml file pass by the user who call my asp file. The user can pass the xml via anything for example asp or VB component. So I will not know exactly what the name of the xml file.
View Replies
View Related
the actual question is as follows:
i have setup a DSN called "pro"
now i have tables in this database
i m running oracle
if i were using MS Access i know how to insert new fields by using the
RS.Mode = adModeReadWrite
how do i do it for oracle? not just inserting data into tables but also what r the commands that i have to give in the asp code page so that i can even update( edit ) and delete records.
View Replies
View Related
I have a DB called users.mdb and it has the tables:
Myusers-
(fields) ID Name Password DOB Date joined
Messages-
(fields) ID Mailto Mailfrom Subject Content Postdate
I am trying to develop inbox.asp, how do i get it to display the mail for each articular user, and no one elses mail?
View Replies
View Related
some way to access to the content of the HTTP POST? Perhaps throw the request object or something similar to the $HTTP_RAW_POST_DATA gobal variable available in PHP.
View Replies
View Related