Hi,
I'm unsure if this is a Javascript or ASP question but hopefully someone here can help.
I have a dynamic form that holds a Radio Button.
Depending on the number of records in the database you have have 2-7 options/radio buttons to select from.
From a programming perspective my form code...
Hi Chris,
Thanks for your help,
You would be correct in saying that the lAnketID is coming from a querystring as this is a the question ID from the database which is pulled using a web-address like :
http://mydomain.com/css/survey/vote.asp?ID=9
so this page would show question 9
Can you see...
Hi all,
I have a strange issue with an if statement.
In a page i have done an include to and external file variables.inc
In this file i have an asp statement
<% max_questions = 9 %>
</code>
In my vote page I have an If statement :
[code]
<form action="cast.asp?ID=<%=lAnketID%>"...
Here's is what I have tried, but still isn't working:
set conn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")
conn.open sConnAnket
set rs.ActiveConnection = conn
rs.CursorType = adOpenStatic
sSQL = "SELECT SurveyID FROM Surveys WHERE SurveyID...
Sorry to sound so lame ... but I've really only started to program with asp, and MS Access databases.
I have tried completing a record set count but it fails with error:
Microsoft VBScript runtime (0x800A01C2)
Wrong number of arguments or invalid property assignment: 'rs.RecordCount'
I...
This is the code from the vote.asp page
As you see there is a line for if the question isn't found in the database.
<%
' Thanks to Tom Holder, who developed the IP restriction,
' "additional information" extension and ported graphical
' display for visitors.
' Visit his site at...
Hi all,
I've scratching my head trying to figure this out and hope you can help.
I have voting script that displays the question in a file vote.asp?ID=X where X is the question from that database record. These records are processed in cast.asp?ID=X
I have a few things going on in this file...
I believe the emails sent to the user gets bounced back to the sender advising them that the mailbox of teh recipient is oversize and their email cannot be delivered.
It will then have to be resent after the mailbox size has been reduced.
Mails sent by the users are bounced back to the user...
We experiencing an extrememly puzzling problem and I hope someone may be able to shed some light as to what is happening.
We have a mailbox (Global Support) which has a number of email addresses tied to it e.g. europe@domain.com, asia@domain.com etc. All of these email addresses are tied to...
cheers nicsin -
Usernames and groups are within the same table so what you have posted should work perfectly.
thanks for your help _ i'll give this a shot and let you know the outcome
Hi,
I'm workign on a project where I have hit a stumbling block with an SQL query.
I want to search a MS Access database table (tbl_company) which contains Usernames & Department for every employee.
I have the system working so far in that search the database and determine if a user is in a...
cheers kaht -
I'll take your word re: evals being processor hogs .. last thing I would think of
Your code certainly has shorted it up
Thanks for your help
Billybong
I've learnt a lot on Javascript these last few days and thanks goes to Kaht for giving me the starting points I managed to learn alot about Javascript and hacked together a script myself - which I'm quite proud of as it's my first real attempt.
Here's the code for anyone interested in doing a...
Hi Kaht,
I did thank you, and thank you again for your help, suggestions and code in this and the last post.
I did not dismiss your last code/suggestions but wanted to investigate other lines and possibilities of what I am trying to do.
Your code does certainly work and would suffice and I...
is it possible to determine if a value from one group of radio buttons equals the same value selected from another group of radio buttons ?
something like
if form1.group1.value = form1.group2.value
then
POPUP window "You Can't Select the same value for two users"
what i'm trying to do is...
I have a form of 3x3 radio buttons.
I want to select button Column1/Row1 and have all other buttons in Column1 disabled and all other buttons left unchecked.
I have come up with the following:
<SCRIPT LANGUAGE="JavaScript">
function Disab (val) {
if(val=="11")
{form1.r1_1.disabled=false...
Thanks kaht for your time and effort on this.
Hopefully it'll lead me in the right direction.
Only things is see critical with this is the default values could display preference to an individual.
I'll see if i can play with what you have given me and try to come up with some sort of form...
Is it possible to or has some ever done so:
I designing an Intranet site to allow e-polling on employees.
There may be 3 users with preferences 1, 2, 3 i.e.
NAME | 1 | 2 | 3
-------------------------
TOM | O | O | O
-------------------------
MARY | O | O | O...
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.