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:

A few questions. . . (1997) CommandSecurity? (1997) [WebDNA] Is [math] on a number with too many digits the only (2011) PCS Frames (1997) createfolder not behaving as expected (1999) multiple search commands (1997) [WebDNA] JSON parsing (2010) WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997) Mozilla/4. and Browser Info.txt (1997) Setting up WebCatalog with Retail Pro data (1996) Running _every_ page through WebCat ? (1997) New Lawsuit Alleges Unitedhealth/Pacificare Deceived (2006) three cart questions (1997) Web Catalog 2 demo (1997) Browsername (2000) File Upload, Browser Timeout (2003) Secure Server (1997) Separate SSL Server (1997) FoundItems Question (1998) A quickie question (1997)