Re: form validator issue

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61490
interpreted = N
texte = I've never used [Math] before to do a validation, I've always used [text] Try this [showif [BLOGTITLE]=][text]failed=T[/text]BLOGTITLE:
[/showif] [showif [failed]=T] Error!
Enter a Blog Title

[/showif] Sal D'Anna -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Lester Sent: Friday, March 18, 2005 8:24 AM To: WebDNA Talk Subject: form validator issue I have a pretty simple form. A few fields that I require to be filled out used in a blog type site. All was well until I added the ability to upload a photo on the same form. I use this technique to make sure certain fields are not empty and if they have data the [append] continues... [math show=f]OK=1[/math] [showif [BlogTitle]=] Error!
Enter a Blog Title

[math show=f]OK=0[/math] [/showif] etc etc If "OK=1" the [append] takes place, if not the error warns the user. Before I adedd the upload photo part my form began this way:
When I added the upload photo part I use this: My required form field validation technique doesn't work when I add enctype="multipart/form-data" Data gets passed regardless.... Is there a reason?? Should I be using another method once I add that? Lester  __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: form validator issue ( Lester 2005)
  2. Re: form validator issue ( "Dan Strong" 2005)
  3. Re: form validator issue ( Lester 2005)
  4. Re: form validator issue ( Terry Wilson 2005)
  5. Re: form validator issue ( Jesse Proudman 2005)
  6. Re: form validator issue ( Kenneth Grome 2005)
  7. Re: form validator issue ( Lester 2005)
  8. Re: form validator issue ( "Gary Krockover" 2005)
  9. Re: form validator issue ( Lester 2005)
  10. Re: form validator issue ( "Gary Krockover" 2005)
  11. Re: form validator issue ( Lester 2005)
  12. Re: form validator issue ( "Dan Strong" 2005)
  13. Re: form validator issue ( Lester 2005)
  14. Re: form validator issue ( Sal D'Anna 2005)
  15. Re: form validator issue ( Lester 2005)
  16. Re: form validator issue ( Aaron Lynch 2005)
  17. form validator issue ( Lester 2005)
I've never used [math] before to do a validation, I've always used [text] Try this [showif [BLOGTITLE]=][text]failed=T[/text]BLOGTITLE:
[/showif] [showif [failed]=T] Error!
Enter a Blog Title

[/showif] Sal D'Anna -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Lester Sent: Friday, March 18, 2005 8:24 AM To: WebDNA Talk Subject: form validator issue I have a pretty simple form. A few fields that I require to be filled out used in a blog type site. All was well until I added the ability to upload a photo on the same form. I use this technique to make sure certain fields are not empty and if they have data the [append] continues... [math show=f]OK=1[/math] [showif [BlogTitle]=] Error!
Enter a Blog Title

[math show=f]OK=0[/math] [/showif] etc etc If "OK=1" the [append] takes place, if not the error warns the user. Before I adedd the upload photo part my form began this way:
When I added the upload photo part I use this: My required form field validation technique doesn't work when I add enctype="multipart/form-data" Data gets passed regardless.... Is there a reason?? Should I be using another method once I add that? Lester  __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Sal D'Anna

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

NT License trade for Mac (2000) Forms Search Questions (1997) Shopping Cart Directory (2000) Giving out error pages (1997) Introduction/Tutorial/QuickStart (1997) japanese characters (1997) Banner DNA (1997) international time (1997) [quantity] solved (1997) [isfile] ? (1997) [WebDNA] Search Question (2009) [math] storage of variables (1997) supressing math results (1997) Signal Raised error (1997) Help formatting search results w/ table (1997) PIXO support (1997) testing (2001) Thanks for tips, more quest (1997) [OT] Appropriate Signature??? (2003) Extended [ConvertChars] (1997)