Re: Form Results

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 36025
interpreted = N
texte = You only need to use the [FormVariables] context to loop through the variables (usually for diagnostic purposes), not to display them. You have 11 formvariables being passed, so the loop goes through 11 times. Take out the [FormVariables] and you'll see your data displayed correctly.You should also Read The Fine Manual on [FormVariables] so that you will understand what it is used for.John PeacockMark Sherwood wrote: > > I built a form and pass the variables to the next page and have it posted. > It's all formatted okay but it posts/loops through the [FormVariables] > information 11 times meaning... it's posting the persons name and address > etc to the page 11 times. Is there something I'm doing wrong? > > Here's the code: > > [FormVariables] > Name & Address:
> [f_name] [l_name]
> [address_1]
> [address_2]
> [city], [state]  [zip] >
>
> Telephone: ([area_code]) [phone] >
>
> Email: [email] >
>
> Comments: [comments] >
> [/FormVariables] > > Thanks. > > Mark > > ------------------------------------------------------------- > 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: Form Results (John Peacock 2000)
  2. Form Results (Mark Sherwood 2000)
You only need to use the [formvariables] context to loop through the variables (usually for diagnostic purposes), not to display them. You have 11 formvariables being passed, so the loop goes through 11 times. Take out the [formvariables] and you'll see your data displayed correctly.You should also Read The Fine Manual on [formvariables] so that you will understand what it is used for.John PeacockMark Sherwood wrote: > > I built a form and pass the variables to the next page and have it posted. > It's all formatted okay but it posts/loops through the [formvariables] > information 11 times meaning... it's posting the persons name and address > etc to the page 11 times. Is there something I'm doing wrong? > > Here's the code: > > [formvariables] > Name & Address:
> [f_name] [l_name]
> [address_1]
> [address_2]
> [city], [state]  [zip] >
>
> Telephone: ([area_code]) [phone] >
>
> Email: [email] >
>
> Comments: [comments] >
> [/FormVariables] > > Thanks. > > Mark > > ------------------------------------------------------------- > 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/ John Peacock

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:

RE: Shopping Cart Questions (1998) Commas in search (1998) Transfer of data from Invoice to thank you templates (1998) Duplicate Cart ID (2001) Adding order weight (1999) Db design question (relational vs. flat?) (1998) Upgrading old WebCat Database Files (1997) WebCatalog [FoundItems] Problem - AGAIN - (1997) billing system (2003) My server admin needs help ... (2004) I give up!! (1997) Emailer 1.01 bombs (1997) Browser Problem?!? NN 4.0+ and Browser Info.txt? (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Resetting a Formvariable (2000) Re:trouble (1997) PCS Frames (1997) anyone know how to restart dbserver on NT automatically (1999) Sku numbers (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997)