Re: webcat- multiple selection in input field

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11985
interpreted = N
texte = Gary:In the results page (not the form page) include the WebDNA snippet that you had in the form page (I think) with any necessary separators:John.>>>> [FormVariables name=text&exact=T] >>>> [index],[value]
>>>> [/FormVariables] >>>> >>>>Listing the variables with a given name is useful for getting the results >>>>of a multiple select list or multiple checkboxes with the same name. >>> >>>Is there a simple way using the above example to now transfer the value of >>>1,check1 >>>2,check2 >>>3,check3 >>>etc >>> >>>into one variable value (brain dead on Monday) >>> >>>ie:allcheckboxes=check1check2check3 >> >>Sure: [FormVariables name=text][value][/FormVariables] >> >>The answer to almost every question in WebCatalog: it's just text! > > >Still Lost, got to be missing something right in front of me :) > >from the online docs > >Example: > > The following are the values of all the form variables with the name >text:
> [FormVariables name=text&exact=T] > [index],[value]
> [/FormVariables] > >Listing the variables with a given name is useful for getting the results >of a multiple select list or multiple checkboxes with the same name. > >The following parameters are optional to the [FormVariables] context: >Parameter Description >Name the name of the field to list >Exact T(rue) or F(alse) whether to exactly match the name of the >parameter or > match any name that contains the name value. (Default value is true) > > >The following tags are available inside a [FormVariables] context: >Tag Description >[Name] the name of the field >[Value] the value associated with the field >[Index] A number from 1 to the number of fields, indicating this field's index > in thelist > >Now from my first template > >
>
I am interested in the following products: >
Vises and Work >Holding Devices >
New PanaVise Junior >
Circuit Board >Holders >
PanaPress >
IDC Press and Dies >
Crimp Press >and Dies >
Pedestal Style >Cellular Phone Mounts >
> >from my results page > >[formvariables name=group][value][/formvariables] > >which prints them out in nice fashion to the screen > >or > >[sendmail to=grichter@panavise.com&from=[form.testname]&subject=testdata] >[formvariables name=group][value][/formvariables] >[/sendmail] > >which emails them to me > >What I am trying to do is take another variable called [groupall] and have >it assigned the value of all the check boxes checked so I can write it to a >file. > >from the above if somebody checked PVjr and PanaPress trying to get >[groupall] to equal PVjrPanaPress. > >Per the docs name=name of field, which in my case is group. >even tried the crazy code of: stupid yes, but I had to try it anyway :) >name=group][value][/formvariables]> > >groupall [groupall]
> >Or is this something beyond the scope of WebCat at this time and I did not >communicate correctly what I was trying to do eariler? Or am I just stupid >(don't answer that truthfully!!) > >=============================================== >Gary Richter > PanaVise Products, Inc. > 7540 Colbert Dr. Reno, Nevada 89511 > Ph: 702.850.2900 Fx: 702.850.2929 > Email: grichter@panavise.com > http://www.panavise.com >=============================================== John A. Hill Pacific Coast Software 11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT * San Diego, CA 92128 http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: webcat- multiple selection in input field (grichter@panavise.com (Gary Richter) 1997)
  2. Re: webcat- multiple selection in input field (John Hill 1997)
  3. Re: webcat- multiple selection in input field (Grant Hulbert 1997)
  4. Re: webcat- multiple selection in input field (grichter@panavise.com (Gary Richter) 1997)
  5. Re: webcat- multiple selection in input field (Grant Hulbert 1997)
  6. Re: webcat- multiple selection in input field (grichter@panavise.com (Gary Richter) 1997)
  7. Re: webcat- multiple selection in input field (Grant Hulbert 1997)
  8. webcat- multiple selection in input field (Thomas Wedderburn-Bisshop 1997)
Gary:In the results page (not the form page) include the WebDNA snippet that you had in the form page (I think) with any necessary separators:John.>>>> [FormVariables name=text&exact=T] >>>> [index],[value]
>>>> [/FormVariables] >>>> >>>>Listing the variables with a given name is useful for getting the results >>>>of a multiple select list or multiple checkboxes with the same name. >>> >>>Is there a simple way using the above example to now transfer the value of >>>1,check1 >>>2,check2 >>>3,check3 >>>etc >>> >>>into one variable value (brain dead on Monday) >>> >>>ie:allcheckboxes=check1check2check3 >> >>Sure: [FormVariables name=text][value][/FormVariables] >> >>The answer to almost every question in WebCatalog: it's just text! > > >Still Lost, got to be missing something right in front of me :) > >from the online docs > >Example: > > The following are the values of all the form variables with the name >text:
> [FormVariables name=text&exact=T] > [index],[value]
> [/FormVariables] > >Listing the variables with a given name is useful for getting the results >of a multiple select list or multiple checkboxes with the same name. > >The following parameters are optional to the [formvariables] context: >Parameter Description >Name the name of the field to list >Exact T(rue) or F(alse) whether to exactly match the name of the >parameter or > match any name that contains the name value. (Default value is true) > > >The following tags are available inside a [formvariables] context: >Tag Description >[Name] the name of the field >[Value] the value associated with the field >[Index] A number from 1 to the number of fields, indicating this field's index > in thelist > >Now from my first template > >
>
I am interested in the following products: >
Vises and Work >Holding Devices >
New PanaVise Junior >
Circuit Board >Holders >
PanaPress >
IDC Press and Dies >
Crimp Press >and Dies >
Pedestal Style >Cellular Phone Mounts >
> >from my results page > >[formvariables name=group][value][/formvariables] > >which prints them out in nice fashion to the screen > >or > >[sendmail to=grichter@panavise.com&from=[form.testname]&subject=testdata] >[formvariables name=group][value][/formvariables] >[/sendmail] > >which emails them to me > >What I am trying to do is take another variable called [groupall] and have >it assigned the value of all the check boxes checked so I can write it to a >file. > >from the above if somebody checked PVjr and PanaPress trying to get >[groupall] to equal PVjrPanaPress. > >Per the docs name=name of field, which in my case is group. >even tried the crazy code of: stupid yes, but I had to try it anyway :) >name=group][value][/formvariables]> > >groupall [groupall]
> >Or is this something beyond the scope of WebCat at this time and I did not >communicate correctly what I was trying to do eariler? Or am I just stupid >(don't answer that truthfully!!) > >=============================================== >Gary Richter > PanaVise Products, Inc. > 7540 Colbert Dr. Reno, Nevada 89511 > Ph: 702.850.2900 Fx: 702.850.2929 > Email: grichter@panavise.com > http://www.panavise.com >=============================================== John A. Hill Pacific Coast Software 11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT * San Diego, CA 92128 http://www.smithmicro.com John Hill

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:

Webcat/Webmerchant (1998) [WebDNA] Flippage & SWCTools (2010) Shopping carts and reloading pages (1997) Problems reading files created by WC (1997) Pithy questions on webcommerce & siteedit (1997) Re:Remote stockroom ? (1998) RE: Cookie Question (1999) Webcat Manual and TeaRoom Examples Uses Different Examples. (1997) Listserver problem (1997) Limitations on fields? Server is crashing (1997) Bulletin Board.... (2000) Sitebuilder and databases not loading correctly (2005) Bug Report, maybe (1997) [WebDNA] Using webdna to automate ftp on a Windows server (2012) OPEN MARKET PATENTS SOUND ECOMMERCE ALARM (1998) are YOU disallowing certain chars to be in user passwords? Why? (2000) $Quit, $CloseDatabase corrections (1997) SV: Text in coloums... (2000) Clickable maps and WebCatalog? (1996) instant cookies? (1999)