Re: input type=file has no value?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47988
interpreted = N
texte = My bad, it did work if I take out the obvious:[showif [url][digital_copy][/url]=[url][digital_copy][/url]] [redirect reprintcard1.htm?cart=[cart]&design=current&error=2] [/showif]Derrr....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/ 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)
My bad, it did work if I take out the obvious:[showif [url][digital_copy][/url]=[url][digital_copy][/url]] [redirect reprintcard1.htm?cart=[cart]&design=current&error=2] [/showif]Derrr....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/ 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:

Happy Holidays! (1998) ExclusiveLock (2000) Too Much Rootbeer Free Offer (1997) Daze to Dates (1998) [WebDNA] XML Syntax (2012) WC Bulletin Board Issue (2003) PIXO with cometsite ... and/or other plugins (1998) Mystery authentication (1997) RE: WebCat: Access denied, but why? - The solution. (1997) New WebDNA Solutions ... (1997) Prevent multiple appends with Reload Button (1997) Converting SQL Microtime to Date and Time (2003) Add htmlarea 3 to SiteBuilder (2004) PCS Frames-Default page is solution! (1997) Showing unopened cart (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) [isfile] ? (1997) carriage returns in data (1997) 'does not contain' operator needed ... (1997) Full text search (1999)