Re: Changing the value assigned to a formvariable

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33405
interpreted = N
texte = Jesse:No using Webcat 3.SM:Thank you for the explanation regarding the different types of variables. I needed that clarification. But I am still trying to figure out if it is possible to change the value of the formvariable on the same template. I understand that using the text variable tags was the wrong road. But can I use [formvariables] to retrieve the value and then reassign it somehow on that same page. I've been trying to do that but can't find a way to make it work.Thanks.Sally At 05:44 PM 6/19/00, you wrote: >>Yes, I can work around this, but what gives here? You can't change >>formvariable values with a text assignment statement? Or is there another >>way I should be doing it? > >Form variables are a completely different namespace from text >variables. Form variables are not changeable, because they come from >the remote browser, analogous to the remote browser's ip address and >cookies and such. You should use a different variable name for the >text variables, or else be more explicit about which namespace you're >pulling from. > >[x] is considered 'lazy syntax' because it could be a value from a >[text], [math], or [formvariables] context, so you can explicitly >retrieve variables from the different namespaces like so: > >[math]x[/math] >[text]x[/text] >[formvariables name=x&exact=t][value][/formvariables] > >Technical Support ********************************** >Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) >16855 West Bernardo Drive, #380 | ------------------------- >San Diego, CA 92127 | Software & Site Development >WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com > Fax: (858) 675-0372 ********************************** > >------------------------------------------------------------- >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: Changing the value assigned to a formvariable (Christer Olsson 2000)
  2. Re: Changing the value assigned to a formvariable (Kenneth Grome 2000)
  3. Re: Changing the value assigned to a formvariable (Christer Olsson 2000)
  4. Re: Changing the value assigned to a formvariable (Sally Reidy 2000)
  5. Re: Changing the value assigned to a formvariable (WebDNA Support 2000)
  6. Re: Changing the value assigned to a formvariable (Jesse Proudman (Lists Account) 2000)
  7. Re: Changing the value assigned to a formvariable (Sally Reidy 2000)
  8. Re: Changing the value assigned to a formvariable (WebDNA Support 2000)
  9. Re: Changing the value assigned to a formvariable (Jesse Proudman (Lists Account) 2000)
  10. Changing the value assigned to a formvariable (Sally Reidy 2000)
Jesse:No using Webcat 3.SM:Thank you for the explanation regarding the different types of variables. I needed that clarification. But I am still trying to figure out if it is possible to change the value of the formvariable on the same template. I understand that using the text variable tags was the wrong road. But can I use [formvariables] to retrieve the value and then reassign it somehow on that same page. I've been trying to do that but can't find a way to make it work.Thanks.Sally At 05:44 PM 6/19/00, you wrote: >>Yes, I can work around this, but what gives here? You can't change >>formvariable values with a text assignment statement? Or is there another >>way I should be doing it? > >Form variables are a completely different namespace from text >variables. Form variables are not changeable, because they come from >the remote browser, analogous to the remote browser's ip address and >cookies and such. You should use a different variable name for the >text variables, or else be more explicit about which namespace you're >pulling from. > >[x] is considered 'lazy syntax' because it could be a value from a >[text], [math], or [formvariables] context, so you can explicitly >retrieve variables from the different namespaces like so: > >[math]x[/math] >[text]x[/text] >[formvariables name=x&exact=t][value][/formvariables] > >Technical Support ********************************** >Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) >16855 West Bernardo Drive, #380 | ------------------------- >San Diego, CA 92127 | Software & Site Development >WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com > Fax: (858) 675-0372 ********************************** > >------------------------------------------------------------- >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/ Sally Reidy

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:

Why is this not false? (2001) show all problem (1997) Help with taxTotal calculation (1998) Help name our technology! (1997) Re:Running 2 two WebCatalog.acgi's (1996) sku, title, price not showing up (1998) WebCat2 Append problem (B14Macacgi) (1997) Digest Version (2000) Force a search at the default.tmpl page? (1997) Version f1 status (1997) WebCatalog Hosting (1996) Help formatting search results w/ table (1997) Help with Shipping Costs (1997) Hosting wanted/business for sale (2001) "top" Clarification ( for apache ) (2008) Formating found categories (1997) problems with 2 tags (1997) Re:E-Mailer (WebCatb15acgiMac) (1997) WebDNA 5.0 Questions (2003) emailer w/F2 (1997)