Hi Guys
I have to validate for form input.
I have a form with 4 textboxes, and i need to check onSubmit that at least one of the four fields has been filled out.
How do i do this please?
Many Thanks
Dave
Hi
I have an ASP and partial Javascript file manager. It finds files in many locations. When you find a file via the web GUI you can open up a folder in a local mapped drive, so users with the right NTFS perms can save changes.
Problem is when they open a file and save as (in say a word...
Hi there
Ive noticed whn you click on a file view / download via the web, some Microsoft apps open in Internet Explorer (like word or excel) and some fire up their respective application like access databases.
Is there a way to ensure all applications open in their native format, so if i click...
Hi All, Hope u are well
I have a predominantely ASP coded intranet which i am writing a file / document manager for.Results are returned from an Indexing Service datasource and results paged in the standard way.
The thing is when someone gets results i give them the option to open the folder...
Hi Guys.
I have a html form which is on a job logging system.
I am trying to get it it to fill out a persons details from values it already has in a db.
Heres where I am up to; a form with a user id field is filled out with a username and you click a link that pops up a pop up window which...
Im a total incompetent when it comes to JavaScript as i work soley in ASP and SQL, but against my better judgement tried some client side form validation the other day.
I wrote and hacked this together but it falls over.
Can you tell me whats up with it?
Thanks
Dave
function onSubmitForm()...
Hi Fella's
I want to see if its plausable to interogate the active directory on our Domain Controller (server2000) to page results to a web front end of,..all machines within the domain,.. and heres the difficult bit,.. also write out the packages that are installed on them : -
ie :
PC 001 -...
After much work trying to understand the microsoft knowledge base's ideas on how to set up Indexing Service for web pages, it finally works.
You know the Routine, you have an IDQ file and a HTX file to interogate the catalog.
Within the htx file i write out the matches, from the relevant...
This is gonna seem really daft, im not quite with it today
Say i was asking ASP to ignore a word when it was performing an action:
----
varIgnore = "materials.asp"
If objFileItem.Name <> varIgnore Then
....
----
How would i make it ignore
1)more files than just the one ive...
Hi
Im want to compare records in a database, which have a value dd/mm/yyyy (set to a variable : DateLogged )in one field, in a query for matches from the last 2 weeks additions (a date is genetaed on the date of an addition)
I was thinking : sql="SELECT * FROM stock WHERE DateLogged...
I wrote a variable SQL statement, and im totally not happy with it, even though it works.
There must be a better way to write it, but how?
---------sql="SELECT * FROM stock"
If Artist <> "" Then
sql = sql + " WHERE Artist LIKE '%"&Artist&"%'"
End if...
When i use a 'file field' on a form to browse for an file, i want to just be able to select *.jpg's, so a user cannot select any file other than a jpg (or perhaps even see anyfile other than a jpg)
How would i go about this?
Thanx
Dave
:)
I am thourougly baffled with a login, that im trying to ensure is remembered when a checkbox is selected at login.
I have:
valRemember = Request.Form("remember")
If Session("Username") <> "" And Session("Password") <> "" Then
valUsername =...
Im trying to pull all records added to my database in the last 14 days.
Im trying:
sql="SELECT * FROM stock WHERE DateLogged BETWEEN '"&DateAdd("d",-14,Date)&"' AND '"& Date &"' AND InStock = 'Yes' ORDER BY Artist, Title, Label"
ive response.write out...
Hi Guys
I have asp pages which i page through with a next and previous link.
eg:
PREV : NEXT
I recently added code to allow me to see page numbers as well:
eg:
PREV 34567 NEXT
My code is
<%
For I = 1 To TotPage
If I = CPage Then
response.write I
Else%>
<a...
Ive currently got an ASP site with an Access Database. I add records to the database sometimes daily sometimes only weekly.
I want a mailing list so current customers (who are also logged in one table in the database) and new ones that sign up can be informed when new stock is added to the...
Hi guys
Ive got a shopping basket on my site www.recordsnorthwest.com
Sessions arent tied up to customer keys, they are just random sessions attached to items in a table for instances of items added to the basket.
I cleared out this table this morning, after a customer has placed an order...
Im writing an order confirmation email to a customer who buys online.
The body part of the message which will confirm their address from the database is fine , cos there is only one instance of this, but when i try and add to the body the items ordered, i can only successfully write one item...
I have a shopping basket, which i need to to add some code to for variable postage.:
Ive ommited all the html i would write on the fly here:
A loop includes this:
**************
qtyprice = Price * qtyselected
dblTotalPrice = cDbl(dblTotalPrice) + cDbl(qtyprice)
**************
I take the...
Lets say i have a link to my search script, with a querystring for what its searching for.
I then want to populate the querstring with a variable of the most searched for keyword on my site, and set this link up to reflect that.
1. The text between the anchors would be dynamic
2. The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.