|
| |
|
|
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
|
|
|
|
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
|
|
|
|
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.
|
|
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
|
|
|