DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Form Validator  
DwZone Forum Index -> Form Validator

Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 21 to 30 of 59 (Total: 21) First |  Prev |  Next |  Last  
 Subject Author Date  
    Check form fields if empty  
View this persons public profile  [email protected]   12:08 15 May 2008  
 
Hi,

I'm trying to leave the entered text in the form when it's correct.

This function works if it's filled in correctly, but when it's blank I get the error message again after the form field with value= > at the end.

Here's the code
<%ShowName = Request.Form("vReplyName")%>
<span class="text_base_red"><%dwzValidator_0.getTextErrMsg("vReplyName")%></span>
<input name="vReplyName" type="text" class="form_field" id="vReplyName" size="30" <%If dwzValidator_0.getTextErrMsg("vReplyName") = "" then Response.Write "value=" & ShowName else Response.Write "" end if%> >


I allready adjusted the non breaking space in dwzValidatorClass.asp so I have ""
 
Reply to this current thread  View this persons public profile  Send Private Message
   Re:Check form fields if empty  
View this persons public profile  gianluigi   10:10 16 May 2008  
   Re:Check form fields if empty  
View this persons public profile  [email protected]   14:35 16 May 2008  
   Validation Not Working  
View this persons public profile  [email protected]   13:12 14 Mar 2008  
   Re:Validation Not Working  
View this persons public profile  gianluigi   10:37 18 Mar 2008  
   Windows Error  
View this persons public profile  [email protected]   17:43 11 Nov 2007  
   Re:Windows Error  
View this persons public profile  gianluigi   10:23 12 Nov 2007  
   Re:Windows Error  
View this persons public profile  [email protected]   8:49 13 Nov 2007  
   Re:Windows Error  
View this persons public profile  gianluigi   11:49 13 Nov 2007  
   Re:Windows Error  
View this persons public profile  [email protected]   20:06 13 Nov 2007  
Last Visit: Saturday 27 Apr, 2024 0:16 am First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-2

Jump to: