Simple Survey ASP Page?

I am in the process of building a Simple Survey, and I am having trouble getting started. I have put together my html form, and now I need to build my "survey.asp" page to communicate with my Access database. I have designed my database to have 3 tables: Department, Contract, Survey. Code:

View Replies


ADVERTISEMENT

Simple Survey W Radio Buttons

I am in the process of building a Simple Survey, and I am having trouble getting started. I have put together my html form, and now I need to build my "survey.asp" page to communicate with my Access database. I have designed my database to have 3 tables: Department, Contract, Survey.

Basically from each question the Survey Table will be populated. The survey table is in this format [SurvID (prim key), ques1, ques2, ...contractID.]

So if a user on question 1 clicked radio button "1radio1" then the number one should populate "ques1" field etc. Same goes for question 5, if the user chooses "5radioN" then "N" would populate the "ques5" field.

Also on there will be a drop down menu on the top of the page where the employee can choose the contractID. How would I incorporate that as well? Code:

View Replies View Related

Multiple Page Survey

i'm thinking about making a muti page survey and was looking for some input on the best way to go about it. example

i want 3 questions on the first page, the user answers then hits next the next questions load and so on. what would be the best way of programming this?

View Replies View Related

Simple ASP Page

I need to send data from a 'form' on an HTML page to an ASP page.

The ASP page should 'return' a simple HTML page containing
the data from any items submitted, including any hidden items.

View Replies View Related

Simple Page Search

We have a simple html page that contains a long list of documents that users can hyperlink to. The entries are currently in alphabetical order and we would like to implement some type of page search instead of requiring users to go to Edit, Find, and type in the search.

suspect that this is possible. We would simply like to have a SEARCH box at the top of the page and it allows users to search only the current page for words. We simply want something a little more eloquent than the built in IE page search.

View Replies View Related

Simple Page Timer During Loop

I am attempting to write a simple progress bar for a redirect page. I am unsure if I need to do this in javascript or if I can do this in asp. The progress bar is a series of square blocks that are transparent, but outlined, and fill as the loop works through it's processes. I have been tinkering around with this for awhile now and I can get it to run. sort of.

I get the same table written on the page as the loop goes through it's process, instead of just one table. I was also looking for a simple timer that pauses before doing the next action. Is that just a simple server.pause or server.timer?

View Replies View Related

Survey Help

I'm currently developing a website in which i want a have a simple survery. The survey will run for three pages. [survery1.htm,survery2.htm,survery3.htm]

I guess i have to use forms to do this, but don't know how? How do i maintain the user input details in the survery1.htm and carry it forward to the successive pages while getting the survery2.htm ?

In simple terms, How do i pass the user input details from one page to other page and finally forward them to an email address? I would very much appreciate if someone can send me a model or where i can get one.

View Replies View Related

Survey Software

Just wondering if anyone knows of any good Survey apps available in ASP, most i have seen are .NET. Also, free would would be ideal.

There are lots out there, but ideally i'd liek to see one that allows for things like,
"If this does not Apply, you will be sent directly to question 14", etc.

View Replies View Related

Survey With Results

I am going to be working on a project that is a web based survey that will submit the data to a database. But the data will also need to be multiplied by a number and displayed back to the user with some text. And was wondering if anyone had any good resources or samples I could check out I really appreciate any response.

View Replies View Related

Statistics From Survey

In database exist survey results. Specific results from multiple choice - multiple answer survey (checkbox) are in tbl_results table (example excerpt):


IDresult__IDquestion_answers
....
24________72_________178,180,191
25________77_________221,224
26________79_________291,298,301,302
27________84_________522,523,525
....

table answers has ID numbers of answered answers, delimited. Anybody has solution to use those ID numbers as foreign key against table tbl_answers, in order to make possibility to make query for better statistics .

View Replies View Related

Online Survey

I want do add an online survey on my site, but i have no idea where to start.can anybody explain to me what goes into building an online survey.

View Replies View Related

Staff Survey

i m currently setting up a staff survey, which will be linked from the website of our company. In the past this has been all hard-copy and decisions been made to put it online, and the job was assigned to me.

I've somehow managed to link to HTML form to the database, with the user completing the survey complete with validation to ensure they have not ommited any fields.

how do I prevent a user entering their username with a different employee number? bearing in mind i will have already input all staff username and employee number into the database. So that when the user enters these fields, the database write the survey to that particular record. I think i just need more code for validation, but I'm clueless as to what i require.

View Replies View Related

Questionnaire (Flowchart) Survey

I have a questionnaire that I want a user to fill out. If you click on the link, you should be able to see the workflow. I was wondering what the best way of doing this was? To have seperate pages? One page?

View Replies View Related

Best Way To Develop Survey Database?

what is the best way to develop a database for a survey? How should I name the columns in the database? I have an survey to develop and some of the questions have up to 80 answer options + quantity for the options.

For example, I have a list of truck models from different manufacturers (eg: John Deere[304, 444, 544, 624...], NewHolland[LW50, LW110, LW130...]. The person filling out the survey needs to be able to select from none to all of items and this would only be question #1.

That means if the person filling out the survey select JD 304 and NH LW110 I'll have a total of four entries one for each of the trucks and one of quantity for each of the trucks. If I use a column for each possible answer, I'll end up with about 1000 columns what to me wouldn't be a very well developed database. Anyone has done anything similar? Any ideas?

View Replies View Related

Logic For Survey Form

I have created a dynamic form ,different under different conditions. The elements of the page are dynamically created with the required infor . coming from tables. Now, i have to store the values, states of all individual elements of the form, for future processing . The values are the part of a survey. I hav to analyse the values and create a report.

Now , i m getting confused in the way , the values of all dynamic fields to be stored. I m not getting a good way to store the values and later process for survey analysis.

View Replies View Related

Simple Encryption (simple)

A system I use uses advanced encryption for passwords. It was taken from some sample script and adapted some where. However this was I think intended to be for passwords. So nothing too long.

However the time has come where I need to create a function to encrypt a large amount of text. It has to encrpt a large amount of text but nothing too advanced is needed to be honest. Just so its unreadable because its written to a text file on drive. It has to be a function though then capable of decrypting the encrypted text.

Any ideas ? Again Dont have to be nothing too flash. I mean I had a go at just changing letters to different letters but the function got huge with all the replaces.

View Replies View Related

Simple One

i have 3 fields like these
membershipamount=100.00
Postage=15.00
GiftArticles_Amount=5.00

and i add them up to get the totalcharge like this

Total_charge=Int(membershipamount) + int(Postage) + int(GiftArticles_Amount)

so i get Total_charge=120.00 which is what i want

but when i have like this

membershipamount=100.00
Postage=15.00
GiftArticles_Amount=3.50

i get Total_charge=118.00

View Replies View Related

Simple One

does someone know a good site for asp 3.0 interiew questions

View Replies View Related

Simple If

I have only begun to look into ASP due to an assignments requirements.I usually code in PHP,one feature in PHP is to be able to do an if.else statement,where if a certain statement is true then a chunk of HTML can be outputted.

Basically I want to be able to do this in ASP to use with a simple authentication system which I will construct.I have just got a fat book on ASP,and am beginning to read through it

View Replies View Related

Simple If/else

I am not an ASP programmer, but I need help with the syntax. I have a simple if/else statement that I need to translate into ASP. Begin Pseudocode

if
{
(id == 1,2,3,4,5,6),
then print "Private"
}
else
{
Print <a href="https://www.mydomain.com/file.asp?ID=<%=rs("ID")%>" target="_blank">Register</a>
}
End Pseudocode

So how do I say this in ASP?

View Replies View Related

Simple Upload

i'm trying to create just a simple upload - fill in a form with the article
title, and description - and select a file - i need to upload that file to
the webserver, and then rename that file to the <% =Sartid %>.pdf

any ideas where to get something this simple from? never done anything like
this before - i'm guessing the FSO will be used?

View Replies View Related

Simple Sendmail With CDO

This code is working partially fine

<%
sch = "http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig = Server.CreateObject("CDO.Configuration")
cdoConfig.Fields.Item(sch & "sendusing") = 2
cdoConfig.Fields.Item(sch & "smtpserver") = "mail.aws.no"
cdoConfig.fields.update

Set cdoMessage = Server.CreateObject("CDO.Message")
Set cdoMessage.Configuration = cdoConfig
cdoMessage.From = Request.Form("E-Mail")
cdoMessage.To = Request.Form("sendto")
cdoMessage.Subject = "Tilbakemelding fra nettsiden"
cdoMessage.TextBody = strBody
cdoMessage.Send
Set cdoMessage = Nothing
Set cdoConfig = Nothing
Response.redirect Request.form("resulturl")
%>

Well, this works with only some addresses and not others.

Examples:

bjorn@domain.no
b@2.com

will work...

On the other hand:

bjorn.kaa@domain.no
bjorn-kaa@domain.no

won't work at all...

View Replies View Related

Simple Login

A user logs in, then based on their account (username/pass), they are redirected to a specific web address.
I only need 3 different accounts.
Can this be done with Javascript? Or do I need to use a database?
If you can point me to some script that will achieve this I would love it!

View Replies View Related

Simple Problem

I got a small problem that I think you can solve in a sec.I use ASP to tell day, date, month etc on this page:
http://www.aljapaco.com/award/nyawar...rd&val=purpose

But,as the servers is in Sweden and I´m in Sweden to, I see the text in Swedish.
Can anyone that lives in any other country just please tell me if the text is in English when youre not viewing it from a Swedish connection.
IF it´s still in Swedish, how (if) can I make it change to English text or am I stuck with some messy old Java Script??

View Replies View Related

ASP Simple Upload

does anyone know of a good place to find code samples for ASP Simple Upload. I can't seem to get to the original site.

What I need to do is upload the file and save the path and some other info into to a database.

View Replies View Related

Simple IF Statement

I have a stylesheet switcher which store the user style preference in a cookie, however how do I modify the following to use the default stylesheet of “styles.css” if there is no cookie on the users computer? Code:

View Replies View Related

Simple Update Where?

Ok how do i update based on 2 Where options
i know this is wrong but i don't know how to do it.

strSQL = "UPDATE [Job Contract Assignments] SET currentassignment = 0 WHERE cnum= '" & cnumqs & "' "&" WHERE currentassignment = -1"
SQLconnect.Execute(strSQL)

View Replies View Related

Simple Thing

can someone tell me whats wrong with this code.i applying the style in right way

Code:

<tr style="background-color: #386cae; color: #000000; a:link {color: #000000; font-weight: bold;}
a:visited {color: #ded9dd;} a:hover {color: #000000; font-weight: bold; decoration: underline;}">

View Replies View Related

Simple Textbox

i have a shopping cart type system where a user adds items to their cart, and as they are doing this, i have a textbox for the user to enter the quantity of the selected item they want!i want this textbox to be max. 3 characters in length (for asthetic purposes!!) but no matter waht width i make it, it is always displayed much bigger(longer) than i want! So how do i force this
textbox to be no more than 3 characters in length?

View Replies View Related

Simple Query

I want to display a message if the submit button was pushed on the same page.

<% If Request.form("submit") = "Submit" Then

Response.Write "Your photo was successfully uploaded."

END IF %>

The action of the form is the same page. Code:

View Replies View Related

Simple Task

I want is to have my asp code test if it is the first time the page has loaded. If so it will need to skip my validation info, if not then run the validation code:

View Replies View Related

Simple Script

I've agreed to help a friend with a free project and everything was going fine until they got some free web space from another friend. It's running on windows and everything is ASP. I have never been near ASP and I really don't understand much. I use PHP/apache and even then it's only tinkering.I was hoping to find a simple script I could plug in and use as a contact form and one for a mailing list (both form to mail type things). But I can't. I've eventually managed to find a couple but I coulnt'd make any sense of them or get them to work.

View Replies View Related

Simple Checkbox To / From DB

I have a form that only has one check box in it for active / inactive. This form is when viewing a member record. My 2 questions are:

How do I get the checkbox into the form showing the state that it is in the database? - I can get a check box to show, but can not get it to show ticked / not ticked according to the database Code:

View Replies View Related







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