|
 |
asp_web_howto thread: verifying txtbox entries
Message #1 by "L Lacko" <llacko@n...> on Mon, 23 Jul 2001 21:31:06 -0700
|
|
I have the following visual basic code in my .asp page to verify user
input on dates.
can someone point out the obvious?
if IsDate(txtBegin.value) =3D False then
msgbox=3D("You must recheck your date value",vbOKonly,Error)
thanx, lis
Message #2 by "Craig Flannigan" <ckf@k...> on Tue, 24 Jul 2001 10:27:36 +0100
|
|
Missing an End If?
-----Original Message-----
From: L Lacko [mailto:llacko@n...]
Sent: Tuesday 24 July 2001 05:31
To: ASP Web HowTo
Subject: [asp_web_howto] verifying txtbox entries
I have the following visual basic code in my .asp page to verify user input
on dates.
can someone point out the obvious?
if IsDate(txtBegin.value) = False then
msgbox=("You must recheck your date value",vbOKonly,Error)
thanx, lis
Message #3 by Roger Balliger <Roger@i...> on Tue, 24 Jul 2001 09:01:17 -0700
|
|
I don't fool around much with VB/VBA when it comes to ASP, but I would
assume that if your script was to work in an ASP page it would need to
be
executed client-side within the <SCRIPT> tags. Even then, it might
only
work correctly in IE browsers and would need some type of trigger such
as a
button click or onBlur(). You ought to consider client-side JavaScript
for
validation so both browsers could utilize it. However, if the data is
sensitive/critical you might consider server-side ASP to validate the
data.
Roger
-----Original Message-----
From: L Lacko [mailto:llacko@n...]
Sent: Monday, July 23, 2001 9:31 PM
To: ASP Web HowTo
Subject: [asp_web_howto] verifying txtbox entries
I have the following visual basic code in my .asp page to verify user
input
on dates.
can someone point out the obvious?
if IsDate(txtBegin.value) =3D False then
msgbox=3D("You must recheck your date value",vbOKonly,Error)
thanx, lis
Message #4 by "L Lacko" <llacko@n...> on Tue, 24 Jul 2001 22:15:41 -0700
|
|
thanks, actually i was trying to attempt this code between the <% %>
values.
now i know to use <!-- --> (for those ie users)
----- Original Message -----
From: "Craig Flannigan" <ckf@k...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Tuesday, July 24, 2001 2:27 AM
Subject: [asp_web_howto] RE: verifying txtbox entries
> Missing an End If?
>
>
>
> -----Original Message-----
> From: L Lacko [mailto:llacko@n...]
> Sent: Tuesday 24 July 2001 05:31
> To: ASP Web HowTo
> Subject: [asp_web_howto] verifying txtbox entries
>
>
> I have the following visual basic code in my .asp page to verify user
input
> on dates.
> can someone point out the obvious?
>
> if IsDate(txtBegin.value) = False then
> msgbox=("You must recheck your date value",vbOKonly,Error)
>
> thanx, lis
>
|
|
 |