T
terry
I encountered a problem when i use frontpage2002 to create
a survey form. My web server is IIS5.0. The survey result
will store at SQL Database.
Now I have 3 problems encountered and need brother help me
to solve.
Firstly, I can't get the information of server date, only
can get the server time.
My source code is follow:
REMOTE_TIME = REQUEST.ServerVariables("TIME")
But I can get the server date & time if i don't use the
comfirmation page.
Secondly, the survey form have one field call "Comment", I
use TextArea Box to create it and let user to type their
comment. But this field only can capture the information
up to carriage return. After the new line can't capture
the information.
Lastly, how can I prevent user to do more than 1 time
survey. I try to used the "username" as primary key, it
can protect the database that will not have duplicate
record of the same user. But it will not show the error
message to remind user that they already fill in the
survey.
Many thanks for your help.
a survey form. My web server is IIS5.0. The survey result
will store at SQL Database.
Now I have 3 problems encountered and need brother help me
to solve.
Firstly, I can't get the information of server date, only
can get the server time.
My source code is follow:
REMOTE_TIME = REQUEST.ServerVariables("TIME")
But I can get the server date & time if i don't use the
comfirmation page.
Secondly, the survey form have one field call "Comment", I
use TextArea Box to create it and let user to type their
comment. But this field only can capture the information
up to carriage return. After the new line can't capture
the information.
Lastly, how can I prevent user to do more than 1 time
survey. I try to used the "username" as primary key, it
can protect the database that will not have duplicate
record of the same user. But it will not show the error
message to remind user that they already fill in the
survey.
Many thanks for your help.