Re: Shopping Cart variation...

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14912
interpreted = N
texte = >>I have looked at the documentation and I can't find anything that will help >>me. I tried [URL][contractor][/URL]. But this convertedDuffy Home >>Builders to Duffy%20Home%20Builders and left it that way. > >This is a good point. Anyone need a feature to reverse the URL encoding? > >Here is an example why: > >1. Accept input from visitor >2. Preview the data to visitor and store the content in a hidden field >as follows: > >3. If user likes preview, the hidden content is passed on and then added >to the database. > >Issues: > >If content has in it, the text will get truncated. Ex: > >1. Users keys in: This is a test! >2. Preview should work fine, but the hidden field will be: > > The browswer will then pass only This is a for the variable >content because of the first . >3. Database gets updated with only This is a > >If I wrap URL around [content] then all will get passed but it will look >like this in the database: This%20is%20a... > >I can work around this by writing a temporary db record, but I just >though a reverse [url] function might be nice.I think what you need to look at is [convertchars] [/convertchars] when placing it back out on a page if I understand your question correctly.=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== Associated Messages, from the most recent to the oldest:

    
  1. Re: Shopping Cart variation... (grichter@panavise.com (Gary Richter) 1997)
  2. Re: Shopping Cart variation... (Olin 1997)
  3. Shopping Cart variation... (Paul Uttermohlen 1997)
  4. Re: Shopping Cart variation... (Grant Hulbert 1997)
>>I have looked at the documentation and I can't find anything that will help >>me. I tried [url][contractor][/URL]. But this convertedDuffy Home >>Builders to Duffy%20Home%20Builders and left it that way. > >This is a good point. Anyone need a feature to reverse the URL encoding? > >Here is an example why: > >1. Accept input from visitor >2. Preview the data to visitor and store the content in a hidden field >as follows: > >3. If user likes preview, the hidden content is passed on and then added >to the database. > >Issues: > >If content has in it, the text will get truncated. Ex: > >1. Users keys in: This is a test! >2. Preview should work fine, but the hidden field will be: > > The browswer will then pass only This is a for the variable >content because of the first . >3. Database gets updated with only This is a > >If I wrap URL around [content] then all will get passed but it will look >like this in the database: This%20is%20a... > >I can work around this by writing a temporary db record, but I just >though a reverse [url] function might be nice.I think what you need to look at is [convertchars] [/convertchars] when placing it back out on a page if I understand your question correctly.=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== grichter@panavise.com (Gary Richter)

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:

hmmm (2006) Error, 101 a DNS problem ? (1997) text size limitation (1997) [listfiles] problems (1997) Emailer setup (1997) UPS online (2003) SMSI: databases corrupted on crash and permission issueson OSX (2002) 911: testing if the field is empty (2000) Dummy Credit Card Number for debug? (1997) Server crash (1997) read and write you own cookies with webcat (1997) More questions about serial number dishing (1997) Re[2]: ftp access on Macos X (2000) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) Error 11 (1996) Credit Card Checksum (1997) [WebDNA] WebDNA on LiveCD ... (2008) Logging purchases (1997) [protect admin] (1997) Just Testing (1997)