Chris Moore
|
Posted: 08/21/2003, 10:13 AM |
|
I have a list of predefined values for a field. But I also need to allow
the user to key a new one in if their option is not in the list. This would
normally be a drop-down combo box in Windows. Can this be done on the web &
how would you do it in CCS?
Thanks
Chris
|
|
|
DonB
|
Posted: 08/21/2003, 11:02 AM |
|
Usually this is done with a pair of controls. A Textbox for typing into,
and a Listbox for selecting from a list (actually, this is what a Windows
"ComboBox" really is - two controls in one). Some simple OnClick javascript
will transfer the Listbox value to the Textbox when a selection is made. I
think there are some samples at simplythebest.com.
--
DonB
http://www.gotodon.com/ccbth
"Chris Moore" <chris@dblayout.com> wrote in message
news:Xns93DE7CBC63B4Ecabubba@66.180.229.147...
> I have a list of predefined values for a field. But I also need to allow
> the user to key a new one in if their option is not in the list. This
would
> normally be a drop-down combo box in Windows. Can this be done on the web
&
> how would you do it in CCS?
>
> Thanks
>
> Chris
|
|
|
Chris Moore
|
Posted: 08/21/2003, 11:18 AM |
|
Thanks. I will take a look at the website.
Chris
"DonB" <~ccbth~@gotodon.com> wrote in
news:bi31fk$gtl$1@news.codecharge.com:
> Usually this is done with a pair of controls. A Textbox for typing
> into, and a Listbox for selecting from a list (actually, this is what
> a Windows "ComboBox" really is - two controls in one). Some simple
> OnClick javascript will transfer the Listbox value to the Textbox when
> a selection is made. I think there are some samples at
> simplythebest.com.
>
|
|
|
Kevin
|
Posted: 10/26/2003, 2:29 PM |
|
But this is the exact reason to BUY CCS;
Having "TOOLS" that can be dragged and dropped onto the form.
At one time they opened the API for creating tools and some of us made some
then CCS 2.x came out and everything died.
A good example is a LISTBOX control; CCS has screwed up the Select object by
naming it with an ARRAY name (listboxname[]) which means you can't reference
it from Javascript.
I created a new LISTBOX type called MLISTBOX that allows extended
multi-select returning a comma delimited list of values.
Now when I need to select n~ number of users to add them to a group it's
simple.
I have been waiting for CCS to publish the API for creating controls for
over a year, it would be a great product if they allowed us to add controls
since they seem to be focused on making CCS work with every script language
made, not functionality.
"DonB" <~ccbth~@gotodon.com> wrote in message
news:bi31fk$gtl$1@news.codecharge.com...
> Usually this is done with a pair of controls. A Textbox for typing into,
> and a Listbox for selecting from a list (actually, this is what a Windows
> "ComboBox" really is - two controls in one). Some simple OnClick
javascript
> will transfer the Listbox value to the Textbox when a selection is made.
I
> think there are some samples at simplythebest.com.
>
> --
> DonB
>
> http://www.gotodon.com/ccbth
>
>
> "Chris Moore" <chris@dblayout.com> wrote in message
>news:Xns93DE7CBC63B4Ecabubba@66.180.229.147...
> > I have a list of predefined values for a field. But I also need to allow
> > the user to key a new one in if their option is not in the list. This
> would
> > normally be a drop-down combo box in Windows. Can this be done on the
web
> &
> > how would you do it in CCS?
> >
> > Thanks
> >
> > Chris
>
>
|
|
|
charles
|
Posted: 12/31/2003, 7:26 PM |
|
Hi ,
Please what is the resolution to this problem.I have precisely the same
issue with multiselect listbox
charles
"Kevin" <kangus@acats.com> wrote in message
news:bnhhsl$d5e$1@news.codecharge.com...
> But this is the exact reason to BUY CCS;
> Having "TOOLS" that can be dragged and dropped onto the form.
> At one time they opened the API for creating tools and some of us made
some
> then CCS 2.x came out and everything died.
>
> A good example is a LISTBOX control; CCS has screwed up the Select object
by
> naming it with an ARRAY name (listboxname[]) which means you can't
reference
> it from Javascript.
>
> I created a new LISTBOX type called MLISTBOX that allows extended
> multi-select returning a comma delimited list of values.
> Now when I need to select n~ number of users to add them to a group it's
> simple.
>
> I have been waiting for CCS to publish the API for creating controls for
> over a year, it would be a great product if they allowed us to add
controls
> since they seem to be focused on making CCS work with every script
language
> made, not functionality.
>
>
> "DonB" <~ccbth~@gotodon.com> wrote in message
>news:bi31fk$gtl$1@news.codecharge.com...
> > Usually this is done with a pair of controls. A Textbox for typing
into,
> > and a Listbox for selecting from a list (actually, this is what a
Windows
> > "ComboBox" really is - two controls in one). Some simple OnClick
> javascript
> > will transfer the Listbox value to the Textbox when a selection is made.
> I
> > think there are some samples at simplythebest.com.
> >
> > --
> > DonB
> >
> > http://www.gotodon.com/ccbth
> >
> >
> > "Chris Moore" <chris@dblayout.com> wrote in message
> >news:Xns93DE7CBC63B4Ecabubba@66.180.229.147...
> > > I have a list of predefined values for a field. But I also need to
allow
> > > the user to key a new one in if their option is not in the list. This
> > would
> > > normally be a drop-down combo box in Windows. Can this be done on the
> web
> > &
> > > how would you do it in CCS?
> > >
> > > Thanks
> > >
> > > Chris
> >
> >
>
>
|
|
|
|