Re: RequiredFields

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 36114
interpreted = N
texte = >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 ... ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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)
>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 ... ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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/ Kenneth Grome

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:

Using Plug-In while running 1.6.1 (1997) using showpage and showcart commands (1996) Sendmail & Time Issue (2001) Major Security Hole (1998) hideif/showif causes error if wrapped around searches (2003) two unique banners on one page (1997) RE: Subtotal help (1997) db merge problem (2002) Running 2 two WebCatalog.acgi's (1996) [include ...] behavior (1997) [WebDNA] Protect TextArea and other Input-Fields with WebDNA - (2009) Wits end with this [sendmail] problem. ;) (2000) WebCat for mass emailings (1997) [addlineitems] display (1997) authenticating a second user (1997) [WebDNA] add rows dynamically (2018) Some Questions (1997) [WebDNA] Resolve IP to Domain (2018) WebCatalog stalls (1998) shipcost (1997)