Simple Form Html Code Needed
i have a database and the asp file. my database will have one table, a user table, with various fields like username, password, name...age.. all i need is the html code to make a simple form such as
Welcome to the add user page:
PLease enter a username (input box)
Please enter an email address (input box)
finally a submit button.
i then want the variables to run a 'signup.asp' file which i have, and be placed into a database.
View Replies
ADVERTISEMENT
I need a super simple 100% ASP and/or VBScript shopping cart. No JavaScript allowed!
Can write to cookies, but not a database. (Sessions maybe OK) I don't need any special buttons and whistles and fancy features. Just want to add product, recalc, empty and checkout. No prices and no shipping charges needed.
View Replies
View Related
could you give me a simple upload image code, Im sick and tired of searching about one, and all of then so complex and how can I request the data from database as what it inter(with html tages).
View Replies
View Related
Can anyone tell me where I can find some 'simple ASP File Upload code'? I've googled 'File Upload' but they all seem to be very involved with a lot of files. I'm still considered a novice when it comes to ASP.
View Replies
View Related
I need a code that will output the elapsed time from a given date until the current date. Obviously if I'm asking you how to do this, I'm ASP stupid, so if you could help me out, it'd be greatly appreciated.
So basically, I need to know how to store the given date, current date, and difference of the days as seperate variables.
View Replies
View Related
I am getting this error:
Response objecterror 'ASP 0251 : 80004005'
Response Buffer Limit Exceeded
/testf.asp, line 0 Execution of the ASP page caused the Response Buffer to exceed its configured limit.
Here is the code I am getting the error from: Code:
View Replies
View Related
I'm doing a content management system, whereby the user can enter the HTML code for a currency symbol, eg £ for £.y . when I bring this data backup, say they want to edit the settings, then my ASP/HTML page is rendering the HTML code, eg £, rather than showing the original value, eg £.
If for example I put a space between the '&' and the 'pound;', eg & pound; then this will cause me problems because the user will think that they have to a put a space in or they file it with the space, which means the HTML code won't work any more. Is there a way round this?
View Replies
View Related
Let's take this for example:
<form action="" method="post">
Firstname: <input name=""frmFirstname"><BR>
Lastname:" <input name=""frmLastname"><BR>
Email" Address: <input name=""frmEmailAddress">
<input" type="submit">
</form>
what i want to do is to show a Javascript Alert Window when the user enters a blank field and when the user enters an invalid email format.
View Replies
View Related
Ive searched the net, and ive had difficulty trying to get CDONT to work, nor "Server.CreateObject("SMTPsvg.Mailer")". I have my own server, and am using Windows set up. Perhaps theres a different type of script out there, and reasonably simple to run?
View Replies
View Related
i have written some asp code on onclick of one button ,purpose is doing those work without submitting main form ,I am not getting working as files are not getting uploaded on web server any syntex error ? do u think this is write way to do so or suggest and modify code:
View Replies
View Related
i am creating a survey type page in Visual Studio it has 2 textboxes and 2 dropdowns and a submit button.
all i need it to do is when i click the submit send this data to an email address. The email address will never change so...
View Replies
View Related
I am using ASP, but javascript will be fine, basically I am looking for a very simple validation which will check the field below named= "LotAmount"...
<form name="bid" action="http://etc,etc" method="post">
<input type="text" name="LotAmount" size="9" maxlength="10" value="£">
<input type="Submit" value="Bid" name="Lotsub">
Here are the limitations etc I would like it to carry out: Code:
View Replies
View Related
I have a form, and it has an email and phone text input fields. I want to test if BOTH are empty and stop the email from being sent. I thought that this would work Code:
View Replies
View Related
I am trying to get a form to insert info into a access database. I am using dreamweaver 2004, i created the form with 4 text fields and a submit button. Ive added a ODBC connection and dreamweaver can qurery my table.
I added an insert record server behaviour, and i figured dreamweaver does all the work for you but when i saved and uploaded the page to my test server it would not submit and redirect to my chosen page, it only refresh the form.Has anyone out there done this before and can notice a step that im missing. Do i need to setup a recordset? because ive tried that as well and no success.
View Replies
View Related
I am designing an Interactive website that uses MySql. At the moment I have just designed the Login pages for users. However to do this I have a Login.html page and a Login.asp page. The values from the html form is posted to the asp page which checks the details against the databse and redirects the user acordingly.
However I would like to have just one Login.asp page where this is all done in. I have tried simply putting the html code into the asp page but the problem is that as soon as i run the login.asp page (on IIS), the asp code is also run. How can I change this so that only once the user clicks on the submit form button, only then the asp code is executed?
View Replies
View Related
I'm looking for asp or java script that encrypt html
code. That it will confuse some surffers that trying
to steal content.
View Replies
View Related
I have creating a simple ASP guestbook using an Access Database, is there any of disabling HTML code so that visitors cant post HTML in the guestbook entries?
View Replies
View Related
How do you put an asp code inside an html tag?
This is not working:
<a href="contact.asp?subject=Question about group
<%=(Recordset1.Fields.Item("group_name").Value)%>">Send a message</a>
I am actually putting above info in an Access field. People would be able to send me email through a form in contact.asp and I want the subject line reflect which page they came from.
View Replies
View Related
So, when my search returns the result I need one of the fields to be clickable and show the customer's info for the clicked customer.So, lets say we make the ID clickable.
So, my HTML has to look like:Code:
<input type = "submit" value="sqlrs("ID")">
How do I construct that in ASP since, using " in strings ends it and same with Response.write methods.
View Replies
View Related
is there any way to indent HTML code inside a simple textarea?
View Replies
View Related
How would I insert this code into a .HTML document rather than a .ASP document.
<%
Set MyFileObj = Server.CreateObject("Scripting.FileSystemObject")
Set MyTextFile = MyFileObj.OpenTextFile(Server.MapPath("content.txt"))
WHILE NOT MyTextFile.AtEndOfStream
Response.Write(MyTextFile.ReadLine & "<BR>")
WEND
MyTextFile.Close
%>
Works fine in .ASP but not .HTML.
View Replies
View Related
im using some wysiwug editor called htmlarea to add some articles to the DB through textarea (something like that we use to add threads) but when the html code contains a link for example it gives error coz of the the ("") in the html tags .. it's something like this Code:
View Replies
View Related
,I need to call a URL, receive the raw html in my VB Script code and parse it
to retrieve a value from a cgi generated web page on a remote Apache Web
server.
What is the best method to accomplish this in ASP 1.0?
View Replies
View Related
I have a page which has a header finding out some variables from request.querystring and other places. Later on in the page in what is normal HTML code I want to use the variable but am having to do this:
<%
response.write "<A Href='" & shopurl & "' target='_blank'>Shop</A>"
%>
is there any way i can just have the line with the variable being interpreted without having to go into a code protect and write the line out with code. Something like this:
<A Href=%shopurl% target="_blank">Shop</A>
View Replies
View Related
How is it you should format your ASP code to that when viewing the resulting
HTML text from the browsers "view code" it looks nice with line breaks?
View Replies
View Related
I have a e-mail function in serverside VB, how would i put html code in the body variable so when email is recieved it looks like html page in the body. right now it just shows up as text in the body of message,
<html><head></head><body><table><tr><td>one</td><td>two</td><td>three</td>
<td>four</td></tr></table></body></html>
There must be a way because i get emails with html ?
View Replies
View Related
inserting dynamic page code in .html page? i.e. i would like to insert a code which will display links. where my homepage link extension is .html. if it is .asp it would have been very easy. and also i would have worked fine. but now the problem is the homepage index file extension is .html.
so if i insert the code it is not displaying the links. i tried inserting the code in a separate file and saved as file.inc and gave the link from home page <!--#include file="file.inc"--> but still the link is not showing and not working.
View Replies
View Related
I've got the latest Visual Studio and have been doing ASP.NET websites.
Now I want to do a traditional ASP (not .NET) website.
I gather that these are done with Visual Interdev. Is Visual Studio 7
suitable for doing an ASP website?
I'm a little confused about where Visual Interdev fit in. Was it a part
of Visual Studio or was it a standalone product?
Is any ASP functionality lost or gained in VS 7 (.NET aside)?
Is VS 7 a suitable tool for ASP?
Is anyone that's maintaining an ASP website using VS 7 for this
purpose? If not then why?
View Replies
View Related
how do i generate a .ics file with unique name?
View Replies
View Related
I was wondering if there is any updates or components needed if you was going to connect a database in ASP. Because I have a script that I download from a website that I know works 100% but when I set it up in my own IIS environment. it comes out with a 500 error. I've searched the internet and I keep seeing mentions of ADO and Mac types .
View Replies
View Related
I'm currently developing a website for my company. I would like to provide
list server functionality to the site, if possible. We have a third party
mail service, so I can easily POP and SMTP.
Does anyone know of any nice and reasonably priced list servers for ASP?
I'd also like to know if anyone knows of any good event calendar components
for display a small calendar on web page and listing events that are
upcoming. Having an admin page would be great too.
View Replies
View Related
Can anyone do me a huge favour? I need an asp template page which will pull data and display it on that page, from an XML file.
The file doesnt contain all the data, its a query to data on a server within our work.
Ive tried endlessley from tutorials etc and the best ive had is a message saying "XML DATA RETRIEVED"
I just cant get the phonelist.xml file to display, basically its a list of staff name / email / phone extension.
View Replies
View Related
I have an issue where I need to remove the underline from hyperlink text when printing a web page. I'm trying to accomplish this with a stylesheet, but the current stylesheet I'm working with is designed strickly for display and not printing. I added the following code;
@media print {
A:link {
background-color: #FFFFFF ;
color : #000000 ;
text-decoration : none ;
}
}
but no cigar. After some research it appears that a separate stylesheet must be used to control print style. Can anyone comment on this?
View Replies
View Related