Re: REPLACE problem

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34062
interpreted = N
texte = > >What is the value of [__commonname] at the time you are doing the >replace?I'd like to be able to enter anything there. I tested it using Big One, but still get [__commonname] returned on Search.tpl. That's also what shows up in the pol.db.>From your code, it looks like you have an HTML
which >inputs some text into a form variable named __commonname, but then >further down on the *same* page you are doing the replace.Yes. I'd like to be able to change anything on the page. That's why I put the form variables with each field. I put the Replace at the bottom of the page so that I can use it for ALL of the fields. Is this not a good idea?>But your browser is not going to send the value for __commonname >until the *next* page, searchdb.tpl, where that form variable will >then be available. I think you need to put the [replace] code onto >the page searchdb.tplOK. I'll try that. Search.tpl shows all items in the db. The page I sent displays only the item I selected on Search.tpl. I thought that technique would help ensure that the update is done without disturbing any other items in the db.After trying to revise any field on the page I sent, I return to Search.tpl so I can select another item for revision.Thanks, Glenn------------------------------------------------------------- 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: REPLACE problem (John Butler 2000)
  2. Re: REPLACE problem (WebDNA Support 2000)
  3. Re: REPLACE problem (Glenn Busbin 2000)
  4. Re: REPLACE problem (Glenn Busbin 2000)
  5. Re: REPLACE problem (WebDNA Support 2000)
  6. REPLACE problem (Glenn Busbin 2000)
  7. Re: replace problem (Kenneth Grome 1999)
  8. Re: replace problem (listas 1999)
  9. Re: replace problem (Kenneth Grome 1999)
  10. Re: replace problem (listas 1999)
  11. Re: replace problem (Will Starck 1999)
  12. Re: replace problem (listas 1999)
  13. Re: replace problem (Will Starck 1999)
  14. replace problem (listas 1999)
> >What is the value of [__commonname] at the time you are doing the >replace?I'd like to be able to enter anything there. I tested it using Big One, but still get [__commonname] returned on Search.tpl. That's also what shows up in the pol.db.>From your code, it looks like you have an HTML which >inputs some text into a form variable named __commonname, but then >further down on the *same* page you are doing the replace.Yes. I'd like to be able to change anything on the page. That's why I put the form variables with each field. I put the Replace at the bottom of the page so that I can use it for ALL of the fields. Is this not a good idea?>But your browser is not going to send the value for __commonname >until the *next* page, searchdb.tpl, where that form variable will >then be available. I think you need to put the [replace] code onto >the page searchdb.tplOK. I'll try that. Search.tpl shows all items in the db. The page I sent displays only the item I selected on Search.tpl. I thought that technique would help ensure that the update is done without disturbing any other items in the db.After trying to revise any field on the page I sent, I return to Search.tpl so I can select another item for revision.Thanks, Glenn------------------------------------------------------------- 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/ Glenn Busbin

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:

killer-format in cart (1998) WebCat2: Items xx to xx shown, etc. (1997) RE: E-mailer error codes (1997) String manipulation in Webcatalog (2001) Hiding Brands (2004) displaying New products (using [date]) (1997) RE: OK, here goes... (1997) hmmm (2006) https validation (2001) Deleting Orders (1997) Multi-processor Mac info ... (1997) WebCat2 - [include] tags (1997) Problems w/ heavy use of cart header fields? (1998) [quantity] within formulas (1997) template not found error (1998) _ in front of field name (1998) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Another question (1997) WebCat2b15MacPlugin - showing [math] (1997) Requiring that certain fields be completed (1997)