Re: Field Contents Raw

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22657
interpreted = N
texte = >The contents of a field in a database is webdna(a series of showifs and >math) I want to display the raw value not the resultant dna.If you store WebDNA in a database field, say [math]1+1[/math] for example, then doing a search and displaying that field inside [founditems] will indeed show the literal raw text [math]1+1[/math]. If you want to force WebCatalog to interpret that as WebDNA, then wrap [Interpret] around the fieldname.>What if it is also a text variable can I display the raw value there?There's not enough English grammar in this sequence of words for me to understand it, but if I turn on my psychic hat, I think you're asking if you can store uninterpreted WebDNA into a text variable. Yes, you can, but you have to be careful to wrap [Raw] around the parts you want to remain uninterpreted.[text]myVariable=[raw][math]1+1[/math][/raw][/text][myVariable] will display literally [math]1+1[/math] [Interpret][myVariable][/Interpret] will display 2Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Field Contents Raw (PCS Technical Support 1999)
  2. Field Contents Raw (Bob Minor 1999)
>The contents of a field in a database is webdna(a series of showifs and >math) I want to display the raw value not the resultant dna.If you store WebDNA in a database field, say [math]1+1[/math] for example, then doing a search and displaying that field inside [founditems] will indeed show the literal raw text [math]1+1[/math]. If you want to force WebCatalog to interpret that as WebDNA, then wrap [interpret] around the fieldname.>What if it is also a text variable can I display the raw value there?There's not enough English grammar in this sequence of words for me to understand it, but if I turn on my psychic hat, I think you're asking if you can store uninterpreted WebDNA into a text variable. Yes, you can, but you have to be careful to wrap [raw] around the parts you want to remain uninterpreted.[text]myVariable=[raw][math]1+1[/math][/raw][/text][myVariable] will display literally [math]1+1[/math] [interpret][myVariable][/Interpret] will display 2Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

[convertChars] and HTML Tags (1997) Re:no template caching (1997) WebCatalog/Mac 2.1b2 - PIXO (1997) Database not found in Include (2002) rotating thumbnails (1997) form data submission gets truncated (1997) oops private message leaked into talk list (1997) Interfacing WebMerchant to www.fedex.com (1997) Counting LineItems (2000) WC1.6 to WC2 date formatting (1997) more ! testing (1997) WCS Newbie question (1997) [WebDNA] Double sendmails (2014) WebCommerce: Folder organization ? (1997) Was it something I said??? (1998) [Sum] function? (1997) Blowback and budgets. (2000) PIXO support (1997) Where's Cart Created ? (1997) AuthorizeNet & StoreBuilder (2002)