Whats wrong with this????

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38292
interpreted = N
texte = I have a file upload form. When you click browse on the form it brings up the windows option to choose a file. In my .tpl that writes the file to be uploaded to another file I have this code[if [url][name][/url]^[url]filename=[/url]] [then] [text]sourceSpecified=No[/text] DONE1 [/then] [else] [text]sourceSpecified=Yes[/text] DONE2 [/else] [/if] It always executes the else option even if no file has been specified to be uploaded. Why is this? Yet if I do it with a showif it will recognise it. However I NEED to do this using an if statement. Any ideas????____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie------------------------------------------------------------- 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: Whats wrong with this???? (Charles Kline 2001)
  2. Re: Whats wrong with this???? (Kenneth Grome 2001)
  3. Whats wrong with this???? (Laeg Ent. 2001)
I have a file upload form. When you click browse on the form it brings up the windows option to choose a file. In my .tpl that writes the file to be uploaded to another file I have this code[if [url][name][/url]^[url]filename=[/url]] [then] [text]sourceSpecified=No[/text] DONE1 [/then] [else] [text]sourceSpecified=Yes[/text] DONE2 [/else] [/if] It always executes the else option even if no file has been specified to be uploaded. Why is this? Yet if I do it with a showif it will recognise it. However I NEED to do this using an if statement. Any ideas????____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie------------------------------------------------------------- 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/ Laeg Ent.

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:

licenses for sale (2006) upgrading (1997) WebCat2 - [format thousands] (1997) [WebDNA] test (2009) Q: Japanese Kanji code support? (2000) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Using Plug-In while running 1.6.1 (1997) [TaxableTotal] - not working with AOL and IE (1997) Rhapsody? (1997) Problems with [Applescript] (1997) Final Receipt (1999) MacWEEK article help needed (1996) Dumb Question about Docs (1997) OT: zipcodes (2002) Formulas.db + Users.db (1997) Help formatting search results w/ table (1997) Locked files not [REPLACE APPEND=T]ed (2000) RE: Re:Signal Raised (1997) Discounts (1998) Webcat no longer supported? (2006)