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 = 25793
interpreted = N
texte = >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)
>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 Kenneth Grome

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:

Help! WebCat2 bug (1997) Store builder question (2003) Slow Code, how to speed up (2002) & in Lookups (1997) Moment of Thanks (1997) [WebDNA] Limited Time Discount on WebDNA Server licenses (2013) PSC recommends what date format yr 2000??? (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Img in goodpath (2001) [checkboxes] and webcat (2000) [WebDNA] lighttpd and gzip compression with webdna? (2015) credit card (1997) WebCat2 - Getting to the browser's username/password data (1997) Please post more "exceptions to the rules" ... (2005) MacAuthorize hub, no modal password dialog? (1997) Generating unique SKU from [cart] - Still Stumped... (1997) Protect (1997) [format 40s]text[/format] doesn't work (1997) [url] link (1998) Stumpted Again (1997)