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:

Electronic delivery (2006) WC1.6 to WC2 date formatting (1997) WebCatalog as another user on mac osx (2001) Major Security Hole (1998) Banner system (2000) emailer settings and control questions (1997) SET and C-SET (1998) Locking up with WebCatalog... (1997) Email notification to one of multiple vendors ? (1997) Initiating NewCart (1997) bug in [SendMail] (1997) Experience with creating real dynamic solutions?????? (1998) Limit to Field Length in DB (1998) Variables not being passed *back* (2000) Reading Field (2003) FEW QUESTIONS (1997) Grep question [parsing variables] problem (2003) HEADER AND FOOTER (1997) Possible Bug in 2.0b15.acgi (1997) Smart caching problems with 2.1b3? (1997)