Re: form validator issue

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61498
interpreted = N
texte = i snatched the simple upload form example that i found on a webdna website. let me slowly recreate the form with that as my basis first. the weird thing is that the technique I use here I've used in many a site and it behaves a-ok, always has. It's just when I add ( enctype="multipart/form-data" ) it misbehaves. I'll let you know what happens this evening --- Dan Strong wrote: > I have a blank field-catcher javascript that I use > all the time that I'd be happy to share that > works nicely... that is, if you're interested in > validating client-side. LMK. > -Dan > > On Fri, 18 Mar 2005 14:15:06 -0800 (PST) > Lester wrote: > > arghhhhh > > > > no luck > > tried both [math] and [text] ways. > > > > everything fails with > > enctype="multipart/form-data" > > added to the form. > > > > > > listing the form variables in all instances I get > > this: > > 8,Content-Disposition: form-data; name="BlogText", > > 9,Content-Disposition: form-data; > name="BlogTitle", > > > > can't see anything being passed for Text or Title, > > sure appears blank in all cases when I leave it > blank > > ...... > > > > so then why would > > [showif [BlogText]=].....[/showif] > > or > > [showif [url][BlogText][/url]=]....[/showif] > > > > pass through? > > > > only happens with > > enctype="multipart/form-data" > > > > > > I remove that and all is well. > > > > > > > > --- Sal D'Anna wrote: > >> 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
> >>
>> onClick="history.back()">

> >> [/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
> >>
>> 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: > >>
method="POST"> > >> > >> When I added the upload photo part I use this: > >> method="POST" > >> 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/ > >> > >> > >> > > > ------------------------------------------------------------- > >> 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/ > >> > > > > > >  > > __________________________________ > > 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 > === message truncated ===  __________________________________ 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/ 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 snatched the simple upload form example that i found on a webdna website. let me slowly recreate the form with that as my basis first. the weird thing is that the technique I use here I've used in many a site and it behaves a-ok, always has. It's just when I add ( enctype="multipart/form-data" ) it misbehaves. I'll let you know what happens this evening --- Dan Strong wrote: > I have a blank field-catcher javascript that I use > all the time that I'd be happy to share that > works nicely... that is, if you're interested in > validating client-side. LMK. > -Dan > > On Fri, 18 Mar 2005 14:15:06 -0800 (PST) > Lester wrote: > > arghhhhh > > > > no luck > > tried both [math] and [text] ways. > > > > everything fails with > > enctype="multipart/form-data" > > added to the form. > > > > > > listing the form variables in all instances I get > > this: > > 8,Content-Disposition: form-data; name="BlogText", > > 9,Content-Disposition: form-data; > name="BlogTitle", > > > > can't see anything being passed for Text or Title, > > sure appears blank in all cases when I leave it > blank > > ...... > > > > so then why would > > [showif [BlogText]=].....[/showif] > > or > > [showif [url][BlogText][/url]=]....[/showif] > > > > pass through? > > > > only happens with > > enctype="multipart/form-data" > > > > > > I remove that and all is well. > > > > > > > > --- Sal D'Anna wrote: > >> 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
> >> >> onClick="history.back()">
> >> [/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
> >>
>> 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: > >>
method="POST"> > >> > >> When I added the upload photo part I use this: > >> method="POST" > >> 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/ > >> > >> > >> > > > ------------------------------------------------------------- > >> 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/ > >> > > > > > >  > > __________________________________ > > 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 > === message truncated ===  __________________________________ 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/ Lester

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:

variable value locked when passed to include (2001) Keep away (1997) RAM variables (1997) New user...how do I create URLs from form fields? (2000) expired beta (1997) Kill the webcat process (2000) Please please help (2001) Hiding Brands (2004) 4.5.1 upgrade? (2003) Time Until (1999) email code (1998) Trouble with formula.db (1997) New WebDNA Solutions ... (1997) WebCat2b12plugin - [search] is broken ... not! (1997) Problems getting parameters passed into email. (1997) [HIDEIF] inside [FOUNDITEM] (1997) Buying sans cart (1997) WebDNA Solutions ... sorry! (1997) FEW QUESTIONS (1997) PC Cookie Problem? (2003)