Re: input type=file has no value?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47986
interpreted = N
texte = Actually, that didn't work, still getting redirected. There must be some other coding issue going on here. Time to take a breather, relax and then come back to it. : )GK | Sorry, that should read, try wrapping all of the [digital_copy]'s in | [URL][/URL]. | | > Gary, | > | > Try wrapping all of the [showif [digital_copy]=] in [URL][/URL]. When | > used in a [SHOWIF], the forward slash of a Windows file pathname can | > be interpreted as divisible by. This is from the html docs: | > | > Tip: make sure neither side of the comparison equation contains any of | > the special comparison letters listed above. For example, [ShowIf I'm | > Friendly! Are you?=[question]] contains an exclamation point inside | > the sentence being compared, so WebDNA sees this as I'm Friendly is | > not equal to Are you?=[question], which is not what the author | > meant to compare. | > | > The solution is to wrap each side of the comparison with [URL] | > contexts, like this: | > [ShowIf [URL]I'm Friendly! Are you?[/URL]=[URL][question][/URL]]. This | > causes any embedded !=>< symbols to be converted to their URL | > equivalents, which can then be compared correctly. | > | > hth, | > | > andy | > | > | >> Howdy, | >> | >> I have a page with a form where a user selects an image for upload | >> using: | >> | >> | >> On the next page, I have simple showif's to detect if the user | >> actually | >> attached a file, and if not, redirect them back to the form with an | >> error: | >> | >> [showif [digital_copy]=] | >> [redirect reprintcard1.htm?cart=[cart]&design=current&error=2] | >> [/showif] | >> [showif [digital_copy]=[url][digital_copy][/url]] | >> [redirect reprintcard1.htm?cart=[cart]&design=current&error=2] | >> [/showif] | >> | >> Even if I select a file, I'm redirected back to the form with the | >> error. | >> Formvariables shows: | >> The following are all the form variables available to this page: | >> 1,cart,10458583942864 | >> 2,current_card,digital | >> 3,digital_copy,C:\Inetpub\wwwroot\silkbizcards\silk\admin_images\dp_b3 | >> .gif | >> | >> I can comment out one or the other redirects above and it will still | >> trigger | >> the redirect, i.e., it's showing as both being empty and being | >> [digital_copy]. I can comment out the [redirect] in either or and | >> just put | >> a text statement in there and that statement will show. | >> | >> Does the input type of text not carry a value, though it shows as | >> having one | >> in formvariables? | >> | >> GK | >> | >> | >> ------------------------------------------------------------- | >> 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/ | > | | | ------------------------------------------------------------- | 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: input type=file has no value? (Gary Krockover 2003)
  2. Re: input type=file has no value? (Gary Krockover 2003)
  3. Re: input type=file has no value? (Gary Krockover 2003)
  4. Re: input type=file has no value? (andy mowrey 2003)
  5. Re: input type=file has no value? (andy mowrey 2003)
  6. input type=file has no value? (Gary Krockover 2003)
Actually, that didn't work, still getting redirected. There must be some other coding issue going on here. Time to take a breather, relax and then come back to it. : )GK | Sorry, that should read, try wrapping all of the [digital_copy]'s in | [url][/URL]. | | > Gary, | > | > Try wrapping all of the [showif [digital_copy]=] in [url][/URL]. When | > used in a [showif], the forward slash of a Windows file pathname can | > be interpreted as divisible by. This is from the html docs: | > | > Tip: make sure neither side of the comparison equation contains any of | > the special comparison letters listed above. For example, [ShowIf I'm | > Friendly! Are you?=[question]] contains an exclamation point inside | > the sentence being compared, so WebDNA sees this as I'm Friendly is | > not equal to Are you?=[question], which is not what the author | > meant to compare. | > | > The solution is to wrap each side of the comparison with [url] | > contexts, like this: | > [ShowIf [url]I'm Friendly! Are you?[/URL]=[url][question][/URL]]. This | > causes any embedded !=>< symbols to be converted to their URL | > equivalents, which can then be compared correctly. | > | > hth, | > | > andy | > | > | >> Howdy, | >> | >> I have a page with a form where a user selects an image for upload | >> using: | >> | >> | >> On the next page, I have simple showif's to detect if the user | >> actually | >> attached a file, and if not, redirect them back to the form with an | >> error: | >> | >> [showif [digital_copy]=] | >> [redirect reprintcard1.htm?cart=[cart]&design=current&error=2] | >> [/showif] | >> [showif [digital_copy]=[url][digital_copy][/url]] | >> [redirect reprintcard1.htm?cart=[cart]&design=current&error=2] | >> [/showif] | >> | >> Even if I select a file, I'm redirected back to the form with the | >> error. | >> Formvariables shows: | >> The following are all the form variables available to this page: | >> 1,cart,10458583942864 | >> 2,current_card,digital | >> 3,digital_copy,C:\Inetpub\wwwroot\silkbizcards\silk\admin_images\dp_b3 | >> .gif | >> | >> I can comment out one or the other redirects above and it will still | >> trigger | >> the redirect, i.e., it's showing as both being empty and being | >> [digital_copy]. I can comment out the [redirect] in either or and | >> just put | >> a text statement in there and that statement will show. | >> | >> Does the input type of text not carry a value, though it shows as | >> having one | >> in formvariables? | >> | >> GK | >> | >> | >> ------------------------------------------------------------- | >> 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/ | > | | | ------------------------------------------------------------- | 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/ Gary Krockover

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:

Possible Bug in 2.0b15.acgi (1997) Emailer setup (1997) WebCat with WebTen (1998) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) WC2.0 Memory Requirements (1997) totals (1997) WebCatalog can't find database (1997) password authentication schemes (2003) target=_blank and form variables (1997) ACGI processing for .html (1997) Emailer to include Human Name with email Address (2000) ReplaceFoundItems Problem (2003) Forms Search Questions (1997) WebCommerce: Folder organization ? (1997) Webstar 1.3.1 PPC (1997) WebCat Contest (1998) Emailer help....! (1997) Duplicate Cart ID (2001) [WebDNA] Check for Ending Carriage Return (2009) Web Catalog 2 demo (1997)