Re: questions on variations of Ken's [text multi=T]var1=&var2=[/text]

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25796
interpreted = N
texte = Thanks Ken! Just the heirachy I was hoping to add to my notes! Thanks for the tip Bob! :-) -JohnKenneth Grome wrote:> >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 Associated Messages, from the most recent to the oldest:

    
  1. Re: questions on variations of Ken's [text multi=T]var1=&var2=[/text] (Kenneth Grome 1999)
  2. Re: questions on variations of Ken's [text multi=T]var1=&var2=[/text] (John Butler 1999)
  3. Re: questions on variations of Ken's [text multi=T]var1=&var2=[/text] (Kenneth Grome 1999)
  4. questions on variations of Ken's [text multi=T]var1=&var2=[/text] (John Butler 1999)
Thanks Ken! Just the heirachy I was hoping to add to my notes! Thanks for the tip Bob! :-) -JohnKenneth Grome wrote:> >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 John Butler

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:

A workaround for handling date range search in yyyy/mm/dd form (1997) [SHOWIF AND/OR] (1997) variable value locked when passed to include (2001) [exclusivelock] (was:several people...) (2001) WebCatalog NT beta 18 now available (1997) PROBLEM (1997) searchable list archive (1997) math on date? (1997) E-mail loop ! (1997) Error 11 (1996) Oracle ODBC Driver For Mac (2001) mass mailing (1998) New reserved words for [tags] (2000) Rhapsody? (1997) WebCat editing, SiteGuard & SiteEdit (1997) Add command creates new cart but I'm passing existing cart...? (2000) Search question (1999) First postarg not taking in $Commands (1997) Separate SSL Server (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)