Re: raw field names
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38022
interpreted = N
texte = 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 nameis there any other way i can loop through all my formvariables to check if theyre raw without actually hard coding them?-- celesteGlenn 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 PaulGreenMarketplace.comceleste@greenmarketplace.comphone: 412-420-6400fax: 412-420-6404Visit http://www.greenmarketplace.com for products that meet the highestsocial 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/
Associated Messages, from the most recent to the oldest:
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 nameis there any other way i can loop through all my formvariables to check if theyre raw without actually hard coding them?-- celesteGlenn 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 PaulGreenMarketplace.comceleste@greenmarketplace.comphone: 412-420-6400fax: 412-420-6404Visit http://www.greenmarketplace.com for products that meet the highestsocial 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/
Celeste Paul
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:
notification solutions (1997)
Sort Order on a page search (1997)
email address with spaces (2001)
Nested tags count question (1997)
DB Size - MAX (2004)
[WebDNA] Using webdna to automate ftp on a Windows server (2012)
PCS Emailer's role ? (1997)
Nested tags count question (1997)
validatin on NT (1998)
Deleting Orders (1997)
Enhanced Master Counter? (1997)
Emailer setup (1997)
Type 11 errors setting up WebCAt 2 (1997)
Initiating NewCart (1997)
Sorting error (1997)
Associative lookup style? + bit more (1997)
I'm new be kind (1997)
Is this google friendly? (2003)
webmerchant/ Mac Auth. and CC refunds (1998)
Help name our technology! (1997)