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:

[WebDNA] Sort by Row (2017) [WebDNA] WebDNA Hosting (2009) [cart]= (2004) Banners (1997) NT considerations (1997) Moment of Thanks (1997) [index] (1997) Logging purchases (1997) Webcatalog 4.02b5 Mac OS X headers (2000) more [sendmail] woes.. (2000) HomePage Caution (1997) WebCatalog for guestbook ? (1997) Newbie Tax Question (1997) Just made store and move file from webcatalog......... (2000) Sort Order on a page search (1997) Search crashing server (1998) RequiredFields notes ... (1997) WebDNA for Dummies (2003) Sorting error (1997) RE: 2nd WebCatalog2 Feature Request (1996)