navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

VALIDATING TEXT BOX

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> VALIDATING TEXT BOX
Page: [1]
 
renars

 

Posts: 2
From: None
Status: offline

 
VALIDATING TEXT BOX - 8/6/2001 20:14:00   
I need to find out how i can validate records input in text box from database results (for example:<%xxx%> is greater than <%xxx1%> )?
help please,
thanks

Mojo

 

Posts: 2431
From: Chicago
Status: offline

 
RE: VALIDATING TEXT BOX - 8/6/2001 13:55:00   
You pretty much have it figured out.
<% If xxx > xxx1 Then... %>

Joe


(in reply to renars)
renars

 

Posts: 2
From: None
Status: offline

 
RE: VALIDATING TEXT BOX - 8/7/2001 20:51:00   
I am using a frontpage. In first result.asp I use results from database and there in one column i put text box in which user can input value(for example 23) when he push a submit button text box value and other values from database results are sent to database with insert asp. Problem I want to validate text box that shows message for user that he can't input value in this box if it not in range <%xxx%>(database result field) <%xxx1%>. I tried to validate text box in frontpage (using text box validation, where i put two database fields <%xxx%> > <%xxx1%> ) but it does not work It seems that frontpage text can only validate true values such as 1 > 2.
Please help me,
Thanks

(in reply to renars)
no_mac_jack

 

Posts: 295
From: Washington state, USA
Status: offline

 
RE: VALIDATING TEXT BOX - 8/7/2001 19:14:00   
Write those two database values to hidden fields and then use javascript to compare the input with those values. There should be some scripts on the net for comparing integers.

~no_mac_jack

------------------
Friends don't let friends use Macs.


(in reply to renars)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> VALIDATING TEXT BOX
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts