Re: raw field names

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38012
interpreted = N
texte = You can't find the variables which are not passed, by using formvariables. The only way is to hard code them on the page.Anup Setty----- Original Message ----- From: Celeste Paul To: WebCatalog Talk Sent: Monday, August 20, 2001 5:19 PM Subject: Re: raw field names > not exactly.. maybe i should explain better.. > > in the [formvariables] context > > [name] returns the first variable name looped.. [value] returns the > variables value.. > > if [name] has a value of a raw variable.. where it actually equals > [name] .. when displayed it will just be null.. > > i tried useing the [raw] to see if the value was raw.. but it wasnt > working because it interpreted the [name] instead of the actual field name > > is there any other way i can loop through all my formvariables to check > if theyre raw without actually hard coding them? > > -- celeste > > Glenn Busbin wrote: > > >> does anyone know of a way to check for raw field names within a [formvariables] tag? my problem is that i have to check for raw values and give it the appropriate value instead of appending [variablename] to the db. i thought of useing the [formvariables] tag because it would allow me to do this for any variable set and not a static one. however.. [raw][name][/raw] and [raw][value][/raw] equal [name] and [value] and not the respected names and values > > > > > > What is a raw field name? > > > > WC will return the exact contents of whatever is between the [raw] and [/raw] tags. In your case, you're telling it to return [name] and [value]. > > > > Remove the [raw] tags and see what is returned. > > > > [raw] is especially useful in a [writefile] to create a template containing WC code that will be interpreted later. > > > > Glenn > > > > ------------------------------------------------------------- > > 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://search.smithmicro.com/ > > > > -- > > Celeste Paul > GreenMarketplace.com > > celeste@greenmarketplace.com > phone: 412-420-6400 > fax: 412-420-6404 > > Visit http://www.greenmarketplace.com for products that meet the highest > social and environmental standards. > > > ------------------------------------------------------------- > 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://search.smithmicro.com/ ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: raw field names (Kenneth Grome 2001)
  2. Re: raw field names (Celeste Paul 2001)
  3. Re: raw field names (John Peacock 2001)
  4. Re: raw field names (Celeste Paul 2001)
  5. raw field names (Celeste Paul 2001)
  6. Re: raw field names (John Peacock 2001)
  7. Re: raw field names (Will Starck 2001)
  8. Re: raw field names (Glenn Busbin 2001)
  9. Re: raw field names (Will Starck 2001)
  10. Re: raw field names (Anup Setty 2001)
  11. Re: raw field names (Glenn Busbin 2001)
You can't find the variables which are not passed, by using formvariables. The only way is to hard code them on the page.Anup Setty----- Original Message ----- From: Celeste Paul To: WebCatalog Talk Sent: Monday, August 20, 2001 5:19 PM Subject: Re: raw field names > not exactly.. maybe i should explain better.. > > in the [formvariables] context > > [name] returns the first variable name looped.. [value] returns the > variables value.. > > if [name] has a value of a raw variable.. where it actually equals > [name] .. when displayed it will just be null.. > > i tried useing the [raw] to see if the value was raw.. but it wasnt > working because it interpreted the [name] instead of the actual field name > > is there any other way i can loop through all my formvariables to check > if theyre raw without actually hard coding them? > > -- celeste > > Glenn Busbin wrote: > > >> does anyone know of a way to check for raw field names within a [formvariables] tag? my problem is that i have to check for raw values and give it the appropriate value instead of appending [variablename] to the db. i thought of useing the [formvariables] tag because it would allow me to do this for any variable set and not a static one. however.. [raw][name][/raw] and [raw][value][/raw] equal [name] and [value] and not the respected names and values > > > > > > What is a raw field name? > > > > WC will return the exact contents of whatever is between the [raw] and [/raw] tags. In your case, you're telling it to return [name] and [value]. > > > > Remove the [raw] tags and see what is returned. > > > > [raw] is especially useful in a [writefile] to create a template containing WC code that will be interpreted later. > > > > Glenn > > > > ------------------------------------------------------------- > > 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://search.smithmicro.com/ > > > > -- > > Celeste Paul > GreenMarketplace.com > > celeste@greenmarketplace.com > phone: 412-420-6400 > fax: 412-420-6404 > > Visit http://www.greenmarketplace.com for products that meet the highest > social and environmental standards. > > > ------------------------------------------------------------- > 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://search.smithmicro.com/ ------------------------------------------------------------- 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://search.smithmicro.com/ Anup Setty

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:

Where is the secure setting for text variables? (2003) Format date.... (2003) Comments in db? (1997) ShowNext truncating passed variable?? (1997) Re1000001: Setting up shop (1997) [addlineitems] (1997) hidden databases (2000) Passing Variable (was How to add product size) (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) 2.0 Info (1997) Need a silver bullet (2004) Sku numbers (1997) Mass Mail (2000) upload pictures any solution (1999) Re:no [search] with NT (1997) [WebDNA] feature suggestion (2011) [WebDNA] [OT] Need to add second SSL host - what are my options? (2010) PC Auth Hub+Merchant (1998) WebCat2: Items xx to xx shown, etc. (1997) unsubscribe me (2000)