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 Consultant808-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:
>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 Consultant808-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:
WebDNA Mail issues (2002)
Web Site (2000)
Upgrading old WebCat Database Files (1997)
SetLineItem (1997)
Webstar 1.3.1 PPC (1997)
Cart problem (1999)
Netscape v. IE (1997)
Snake Bites (1997)
Using Plug-In while running 1.6.1 (1997)
Cannot get subtotal to work (1997)
No Answer on Web Merchant Problem? (2001)
[OT] JavaScript Error (2002)
Re:WebCatalog/WebMerchant III (1998)
Country & Ship-to address & other fields ? (1997)
FEW QUESTIONS (1997)
[math] show=F exists? (1997)
[sendmail] bug? (2000)
SOP for WebDNA talk (2004)
Writing to disk (1999)
[OT] Airport Network (2003)