Re: form validator issue

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61488
interpreted = N
texte = Put in a formvariables and see what [BlogTitle] actually is. It won't be blank with the new multipart encoding. On 3/18/05 8:24 AM, Lester mashed the following keys : > 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
>
onClick="history.back()">

> [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: > enctype="multipart/form-data"> > > > 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/ Aaron Lynch NineWire Digital Solutions www.ninewire.com (888)-873-6199 -- It has ever been my experience that folks who have no vices have very few virtues. -Abraham Lincoln ------------------------------------------------------------- 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)
Put in a formvariables and see what [BlogTitle] actually is. It won't be blank with the new multipart encoding. On 3/18/05 8:24 AM, Lester mashed the following keys : > 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
> onClick="history.back()">
> [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: > enctype="multipart/form-data"> > > > 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/ Aaron Lynch NineWire Digital Solutions www.ninewire.com (888)-873-6199 -- It has ever been my experience that folks who have no vices have very few virtues. -Abraham Lincoln ------------------------------------------------------------- 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/ Aaron Lynch

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:

Fwd: Problems with Webcatalog Plug-in (1997) off-topic - printinglib 68K (1997) textarea inputs and returns (1999) Unexpected error (1997) 2nd WebCatalog2 Feature Request (1996) Initiating NewCart (1997) search results not sorted with 'cl' (1998) WebCat2.0 [format thousands .0f] no go (1997) [WebDNA] 4.51 upgrade to vers. 6 (2008) Formvariable won't update (1999) Adding a product from another site (1997) webcat, osx, and includes (2001) RE: Error: template (1997) Fun with Dates - revisited (1997) UPDATE PROBLEM (1997) Pass a form (2003) New WebCatalog Version !!! (1997) WC2.0 Memory Requirements (1997) autocommit problem (1998) Webcat 2.0.1 date math bug -> Crash! (1997)