Re: Changing user submitted data

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28051
interpreted = N
texte = At 10:16 AM -0600 2000/02/25, nospam wrote:>Here is my problem I need to change some text that a user submits into a data base. I know this is possible because when you send an email to the talk list, when smithmicro archives it on search.smithmicro.com the words like Webcatalog are changed into links. So anyway how is this done? > >P.S. I know this is possible in applescript but I need a webcat solution >In your form completion routine, just change it. I use:>[showif [action]=Append] >[replace db=../db/Roster.db&eqSKUdatarq=[url][_sku][/url]&append=T][!] >[/!]&HPhone=[include file=../Includes/-NormalizePhone&var1=[_HPhone]][!] Home >[/!]&EPhone=[include file=../Includes/-NormalizePhone&var1=[_EPhone]][!] Work >[/!]&[ListWords Words=[_BigBrother]][showif [index]=1]BigBrother=[word][/showif][/ListWords][!] >[/!]&[formvariables name=_&exact=F][getchars start=2][name][/getchars]=[url][value][/url]&[/formvariables][/replace] >
Record Added

>[commitdatabase db=../db/Roster.db] >[/showif]The [include file=../Includes/-NormalizePhone&var1=[_HPhone]] routine converts all phone numbers to a common format since everyone enters them differently. -Chuck-__________________________________________________________________________ Chuck Rice ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Changing user submitted data (Chuck Rice 2000)
  2. Re: Changing user submitted data (Chuck Rice 2000)
  3. Re: Changing user submitted data (John Butler 2000)
  4. Re: Changing user submitted data (John Butler 2000)
  5. Changing user submitted data (nospam 2000)
  6. Changing user submitted data (nospam 2000)
At 10:16 AM -0600 2000/02/25, nospam wrote:>Here is my problem I need to change some text that a user submits into a data base. I know this is possible because when you send an email to the Talk List, when smithmicro archives it on search.smithmicro.com the words like Webcatalog are changed into links. So anyway how is this done? > >P.S. I know this is possible in applescript but I need a webcat solution >In your form completion routine, just change it. I use:>[showif [action]=Append] >[replace db=../db/Roster.db&eqSKUdatarq=[url][_sku][/url]&append=T][!] >[/!]&HPhone=[include file=../Includes/-NormalizePhone&var1=[_HPhone]][!] Home >[/!]&EPhone=[include file=../Includes/-NormalizePhone&var1=[_EPhone]][!] Work >[/!]&[ListWords Words=[_BigBrother]][showif [index]=1]BigBrother=[word][/showif][/ListWords][!] >[/!]&[formvariables name=_&exact=F][getchars start=2][name][/getchars]=[url][value][/url]&[/formvariables][/replace] >
Record Added

>[commitdatabase db=../db/Roster.db] >[/showif]The [include file=../Includes/-NormalizePhone&var1=[_HPhone]] routine converts all phone numbers to a common format since everyone enters them differently. -Chuck-__________________________________________________________________________ Chuck Rice ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Chuck Rice

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:

Three new problems, maybe a fourth (1997) Non-technical messages ... (1997) Not really WebCat (1997) Buying sans cart (1997) Bug Report, maybe (1997) no global [username] or [password] displayed ... (1997) Fwd: checkboxes (2000) WebCatalog for Postcards ? (1997) docs for WebCatalog2 (1997) StoreBuilder Q's (2003) nesting limits? (1998) checking for [ and ] in form fields ... (1997) Multiple cart additions (1997) Cold Fusion Buster (1997) Is this possible, WebCat2.0 and checkboxes (1997) Exclamation point (1997) [WebDNA] Exclude found items in a 2nd search (2016) Error handling for accountNum (1997) slow site (2003) BBEdit WedDNA Codeless Language Module (2004)