Replacefounditems

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52668
interpreted = N
texte = Ok ... I am now officially boggled. I have a search that uses a replacefounditems to update a record. Actual code: [search db=./admin/rsvp.txt&eqVIPdatarq=[code]] [replacefounditems]Status=[status]&EMAIL=[email]&GUEST_FNAME=[url][GUEST_FNA ME][/url]&GUEST_LNAME=[url][GUEST_LNAME][/url][/replacefounditems] [/search] This is not working, but if I remove the starting square bracket from the values to be replaced it adds the broken values. Example: [replacefounditems]Status=status]&EMAIL=email]&GUEST_FNAME=[url]GUEST_FNAME] [/url]&GUEST_LNAME=[url]GUEST_LNAME][/url][/replacefounditems] the above adds: status] email] guest_fname] guest_lname] So the replace does seem to somewhat work. Also doing a formvariables loop to test that the values are being passed into the replace here is what I get. STATUS = Accept email = ron@inkblotmedia.com guest_fname = test guest_lname = test or if I break the replacefounditems this is displayed replacefounditems]Status=Accept&EMAIL=ron@inkblotmedia.com&GUEST_FNAME=test& GUEST_LNAME=test/replacefounditems] Any ideas? ------------------------------------------------------------- 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: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  2. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  3. Re: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  4. Re: [WebDNA] Help with ReplaceFoundItems ("Dan Strong" 2009)
  5. Re: [WebDNA] Help with ReplaceFoundItems (Terry Wilson 2009)
  6. Re: [WebDNA] Help with ReplaceFoundItems (Terry Wilson 2009)
  7. Re: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  8. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  9. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  10. Re: [WebDNA] Help with ReplaceFoundItems (Kenneth Grome 2009)
  11. Re: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  12. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  13. Re: [WebDNA] Help with ReplaceFoundItems (Kenneth Grome 2009)
  14. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  15. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  16. Re: New: Re: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  17. New: Re: [WebDNA] Help with ReplaceFoundItems (Donovan Brooke 2009)
  18. [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  19. Re: ReplaceFoundItems ( "WebDna @ Inkblot Media" 2006)
  20. Re: ReplaceFoundItems ( Stuart Tremain 2006)
  21. Re: ReplaceFoundItems ( "WebDna @ Inkblot Media" 2006)
  22. Re: ReplaceFoundItems ( "Gary Krockover" 2006)
  23. ReplaceFoundItems ( "MARK BERGKVIST" 2006)
  24. Re: ReplaceFoundItems Problem ( Rob Marquardt 2003)
  25. Re: ReplaceFoundItems Problem ( Brian Fries 2003)
  26. Re: ReplaceFoundItems Problem ( Justin Carroll 2003)
  27. Re: ReplaceFoundItems Problem ( John Peacock 2003)
  28. ReplaceFoundItems Problem ( Justin Carroll 2003)
  29. Re: Replacefounditems ( "WebDna @" 2003)
  30. Re: Replacefounditems ( John Peacock 2003)
  31. Replacefounditems ( "WebDna @" 2003)
  32. Re: SMSI: closedatabase then replacefounditems inside the same search context ... (Kenneth Grome 2002)
  33. Re: SMSI: closedatabase then replacefounditems inside thesame searchcontext ... (John Peacock 2002)
  34. SMSI: closedatabase then replacefounditems inside the samesearch context ... (Kenneth Grome 2002)
Ok ... I am now officially boggled. I have a search that uses a replacefounditems to update a record. Actual code: [search db=./admin/rsvp.txt&eqVIPdatarq=[code]] [replacefounditems]Status=[status]&EMAIL=[email]&GUEST_FNAME=[url][GUEST_FNA ME][/url]&GUEST_LNAME=[url][GUEST_LNAME][/url][/replacefounditems] [/search] This is not working, but if I remove the starting square bracket from the values to be replaced it adds the broken values. Example: [replacefounditems]Status=status]&EMAIL=email]&GUEST_FNAME=[url]GUEST_FNAME] [/url]&GUEST_LNAME=[url]GUEST_LNAME][/url][/replacefounditems] the above adds: status] email] guest_fname] guest_lname] So the replace does seem to somewhat work. Also doing a formvariables loop to test that the values are being passed into the replace here is what I get. STATUS = Accept email = ron@inkblotmedia.com guest_fname = test guest_lname = test or if I break the replacefounditems this is displayed replacefounditems]Status=Accept&EMAIL=ron@inkblotmedia.com&GUEST_FNAME=test& GUEST_LNAME=test/replacefounditems] Any ideas? ------------------------------------------------------------- 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/ "WebDna @"

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:

Parsing args without ? (2003) carts on MacOS X Server (2000) Bit off subject -- Faxing orders (1997) Re:Searching for ALL / empty form field (1997) Understanding texta (1997) Clean Code: Rules for inserting keyboard returns? (1997) [WebDNA] PCI fubar (2012) Not reading code (1997) Max Record length restated as maybe bug (1997) RE: WebCatalog2 for NT Beta Request (1997) Cookie still not working (1999) Highlighting words found in a keyword search (2003) Preventing Merchant Settling ? (1997) For those of you not on the WebCatalog Beta... (1997) Please post more "exceptions to the rules" ... (2005) Sensations (1997) Concatenating Form Variables (1998) Image as submit button (2000) Refering page (1998) Add to Cart & List of Products (1997)