Forums
 This topic is locked 
             validator data
 Posted 16 Jul 2001  12:12:28 
  1 
     has   voted 
  16 Jul 2001  12:12:28 gianluca jean posted: 
 I have 2 textfield the firtst one I insert the begin data and the second one I insert the final data, so before to send the form I must check if the B data is realy previus respect the F data.
any ideas?
thanks
Replies
 Replied 16 Jul 2001  12:43:02 
   16 Jul 2001  12:43:02 Viktor Farcic replied: 
  I'm not sure if I understand this. Can you explain this a little more?
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I have 2 textfield
the firtst one I insert the begin data and the second one I insert the final data, so before to send the form I must check if the B data is realy previus respect the F data.
any ideas?
thanks
 
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
  
  <BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I have 2 textfield
the firtst one I insert the begin data and the second one I insert the final data, so before to send the form I must check if the B data is realy previus respect the F data.
any ideas?
thanks
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
 Replied 16 Jul 2001  13:05:04 
   16 Jul 2001  13:05:04 gianluca jean replied: 
  I must compare the 1st data with the 2nd data. the 1st must be previus the 2nd data 
for ex
i have a activity from 13/10/2001 to 15/10/2001 if I write 15/10/2001 to 13/10/2001 a JS worn the user...
I hope to have understood
  
  for ex
i have a activity from 13/10/2001 to 15/10/2001 if I write 15/10/2001 to 13/10/2001 a JS worn the user...
I hope to have understood
 Replied 16 Jul 2001  13:15:06 
   16 Jul 2001  13:15:06 Viktor Farcic replied: 
  I suppose you wanted to write date instead of data.
You can use If Then statement:
<%
If Field1>Field2 Then
...
End If
%>
Put whatever you want between If and End If. If you still have problems with it reply to this post.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I must compare the 1st data with the 2nd data. the 1st must be previus the 2nd data
for ex
i have a activity from 13/10/2001 to 15/10/2001 if I write 15/10/2001 to 13/10/2001 a JS worn the user...
I hope to have understood
 
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
  
  You can use If Then statement:
<%
If Field1>Field2 Then
...
End If
%>
Put whatever you want between If and End If. If you still have problems with it reply to this post.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I must compare the 1st data with the 2nd data. the 1st must be previus the 2nd data
for ex
i have a activity from 13/10/2001 to 15/10/2001 if I write 15/10/2001 to 13/10/2001 a JS worn the user...
I hope to have understood
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>