Re: questions on variations of Ken's [text

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25803
interpreted = N
texte = One minor variance to this rule is with one or more of the built in browser variables. Unlike other variables that should not be modifiable, incoming form variables can override the built-in WebDNA tags [ipaddress] and [referrer] and possibly others, I haven't tried them all.-- Mike Davis> From: Kenneth Grome > Reply-To: (WebCatalog Talk) > Date: Tue, 28 Dec 1999 13:04:10 -1000 > To: (WebCatalog Talk) > Subject: Re: questions on variations of Ken's [text multi=T]var1=&var2=[/text] > >> Does anyone know definitively whether or not I can >> reliably use the same technique to preset values that may or may not be >> present >> within a [Search][Founditems] context? >> >> For example I have a db with a record in it. A template finds that record >> and >> attempts to replace just some of the field values in that record. Do the >> values >> found in the record ALWAYS override any value set in the template (above) >> with a >> [text] context? > > Yes. > >> Do the values found in the record ALWAYS override any values coming >> in via formvariables? > > Yes. > > The rule is simple: When a [text] variable is set on the page, it is *always* > overridden by any other variable with the same name. In other words, text > variables are the 'weakest' variables of all. > > Here is the hierarchy everyone should know: > > 1- OrderFile tags inside an orderfile context. > 2- Global tags such as [date] and [time] and [ipaddress]. > 3- Database Field tags inside a founditems context. > 4- Form Variable tags. > 5- Text Variable tags. > > > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499, http://webdna.net > ================================ > > > > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > 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 > ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: questions on variations of Ken's [text (Mike_Davis 1999)
  2. Re: questions on variations of Ken's [text multi=T]var1=&var2=[/text] (Kenneth Grome 1999)
  3. Re: questions on variations of Ken's [text multi=T]var1=&var2=[/text] (John Butler 1999)
  4. Re: questions on variations of Ken's [text (Bob Minor 1999)
  5. Re: questions on variations of Ken's [text multi=T]var1=&var2=[/text] (Kenneth Grome 1999)
  6. questions on variations of Ken's [text multi=T]var1=&var2=[/text] (John Butler 1999)
One minor variance to this rule is with one or more of the built in browser variables. Unlike other variables that should not be modifiable, incoming form variables can override the built-in WebDNA tags [ipaddress] and [referrer] and possibly others, I haven't tried them all.-- Mike Davis> From: Kenneth Grome > Reply-To: (WebCatalog Talk) > Date: Tue, 28 Dec 1999 13:04:10 -1000 > To: (WebCatalog Talk) > Subject: Re: questions on variations of Ken's [text multi=T]var1=&var2=[/text] > >> Does anyone know definitively whether or not I can >> reliably use the same technique to preset values that may or may not be >> present >> within a [search][founditems] context? >> >> For example I have a db with a record in it. A template finds that record >> and >> attempts to replace just some of the field values in that record. Do the >> values >> found in the record ALWAYS override any value set in the template (above) >> with a >> [text] context? > > Yes. > >> Do the values found in the record ALWAYS override any values coming >> in via formvariables? > > Yes. > > The rule is simple: When a [text] variable is set on the page, it is *always* > overridden by any other variable with the same name. In other words, text > variables are the 'weakest' variables of all. > > Here is the hierarchy everyone should know: > > 1- OrderFile tags inside an orderfile context. > 2- Global tags such as [date] and [time] and [ipaddress]. > 3- Database Field tags inside a founditems context. > 4- Form Variable tags. > 5- Text Variable tags. > > > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499, http://webdna.net > ================================ > > > > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > 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 > ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Mike_Davis

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:

syntax question, not in online refernce (1997) More questions about serial number dishing (1997) UPDATE PROBLEM (1997) [ModDate] & [ModTime] ? (1997) WebCat2b15MacPlugin - showing [math] (1997) SET and C-SET (1998) PROBLEM (1997) question: webmerchant connection (1997) Cyberstudio and WebDNA (1997) Date search and sendmail (1997) Undocumented tags and contexts (2000) Showif, Hideif reverse logic ? (1997) Potential Conflicts? (1997) Digest Version (2000) Sort Order on a page search (1997) Emailer (1998) [WriteFile] problems (1997) State DB & TIme Zones (2003) Quickie question on the email templates (1997) Price + Texte (1999)