Re: RequiredFields

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 36128
interpreted = N
texte = On 8/14/00 1:39 am, Kenneth Grome so noted...>>Is there any way to the the requiredfields parameter to work when a form >>is encoded for file upload? (ie - enctype=multipart/form-data) >>It does not seem to work in this situation. > >If your testing indicates that it doesn't work the way you might >expect it to, you probably have to use two form pages to collect all >the data. This may be the only way to use the requiredfields >parameter in this situation. I would try this: > >1- Use the form on the first page to collect all the data except for >the name/location of the uploadable file itself. This data will be >passed as formvariables to the next page. This technique allows you >check the form fields on the first page using the requiredfields >parameter. > >2- Put the data from those fields into hidden form fields on the >second page. You can display these values on the second page itself >if you want to, since this will allow the visitor to reconfirm what >he/she entered into the previous form. > >3- Then the visitor can select the uploadable file via the form on >the second page ...Another reason this would be a good idea -- I'd be pretty honked to wait for the browser upload to complete only to be told that I had overlooked a required field and had to do the whole process again (wash, lather, rinse, repeat : )Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: requiredfields (John Hill 2002)
  2. Re: requiredfields (Grant Hulbert 2002)
  3. Re: requiredfields (Kenneth Grome 2002)
  4. Re: requiredfields (Rob Marquardt 2002)
  5. Re: requiredfields (Joseph D'Andrea 2002)
  6. Re: requiredfields (Rob Marquardt 2002)
  7. Re: requiredfields (Ron Ceballos 2002)
  8. Re: requiredfields (Rob Marquardt 2002)
  9. Re: requiredfields (Ron Ceballos 2002)
  10. Re: requiredfields (Donovan 2002)
  11. Re: requiredfields (John Peacock 2002)
  12. requiredfields (Ron Ceballos 2002)
  13. requiredfields HELP!! (Celeste Paul 2001)
  14. Re: requiredfields HELP!! (Paolo Coppo 2001)
  15. Re: RequiredFields (Rob Marquardt 2000)
  16. Re: RequiredFields (Kenneth Grome 2000)
  17. RequiredFields (Dennis J. Bonsall, Jr. 2000)
  18. Re: RequiredFields and MacOS X Server? (WebDNA Support 2000)
  19. Re: RequiredFields and MacOS X Server? (Kenneth Grome 2000)
  20. RequiredFields and MacOS X Server? (Parker 2000)
  21. Re: RequiredFields parameter (Johann Weber 1998)
  22. Re: RequiredFields parameter (Brian Drum 1998)
  23. Re: Re requiredFields parameter (PCS Technical Support 1998)
  24. Re requiredFields parameter (Johann Weber 1998)
  25. Re: RequiredFields template (Glenn Davis 1997)
  26. Re: RequiredFields template (Trevor Crist 1997)
  27. Re: RequiredFields template (Glenn Davis 1997)
  28. RequiredFields template (Trevor Crist 1997)
  29. Re: RequiredFields template (Kenneth Grome 1997)
  30. Re: RequiredFields template (Grant Hulbert 1997)
  31. Re: RequiredFields template (Glenn Davis 1997)
  32. Re: RequiredFields template (Kenneth Grome 1997)
  33. Re: RequiredFields template (Grant Hulbert 1997)
  34. Re: RequiredFields template (Grant Hulbert 1997)
  35. Re: RequiredFields template (Kenneth Grome 1997)
  36. Re: RequiredFields notes ... (grichter@panavise.com (Gary Richter) 1997)
  37. RequiredFields notes ... (Kenneth Grome 1997)
On 8/14/00 1:39 am, Kenneth Grome so noted...>>Is there any way to the the requiredfields parameter to work when a form >>is encoded for file upload? (ie - enctype=multipart/form-data) >>It does not seem to work in this situation. > >If your testing indicates that it doesn't work the way you might >expect it to, you probably have to use two form pages to collect all >the data. This may be the only way to use the requiredfields >parameter in this situation. I would try this: > >1- Use the form on the first page to collect all the data except for >the name/location of the uploadable file itself. This data will be >passed as formvariables to the next page. This technique allows you >check the form fields on the first page using the requiredfields >parameter. > >2- Put the data from those fields into hidden form fields on the >second page. You can display these values on the second page itself >if you want to, since this will allow the visitor to reconfirm what >he/she entered into the previous form. > >3- Then the visitor can select the uploadable file via the form on >the second page ...Another reason this would be a good idea -- I'd be pretty honked to wait for the browser upload to complete only to be told that I had overlooked a required field and had to do the whole process again (wash, lather, rinse, repeat : )Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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://search.smithmicro.com/ Rob Marquardt

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:

[WebDNA] Two different mail servers? (2011) this works sometimes and sometimes not (1997) CGI Plugin memory (2001) American Express test number (2000) One more time (1997) Emailer (1997) Date field search needs ... (1998) WebStar Secure on other machine (1997) [WebDNA] Searching within a search on the same database (2013) select multiple 2 more cents (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Almost a there but..bye bye NetCloak (1997) Smart caching problems with 2.1b3? (1997) Exclamation point (1997) PCS Frames (1997) [ShowNext] (1997) Quit revisited (1997) PCS Frames (1997) Webcatalog on MacOs (2000) [WebDNA] Databases not staying open (2010)