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:

Cookies not setting on IE (2002) WebCatalog for guestbook ? (1997) [getchars] questions (1997) Support ?? (1997) system crashes, event log (1997) Shipping Costs Not Updating When Adding Items (1997) [SearchString] problem with [search] context (1997) .tmp files (2000) Searchable WebCat (etc.) Docs ? (1997) Include a big block of text (1997) User / Pass in TCP connect (2007) Using Plug-In while running 1.6.1 (1997) A little syntax help (1997) Multiple fields on 1 input (1997) Problem displaying search result (1997) WebCatalog not recognizing ShoppingCarts folder (2000) [GROUPS] followup (1997) [WebDNA] linux fix for date to day of week (2008) search form problem.. (1997) E-mailer error codes (1997)