PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/
__________________________________________________________________

Thanks Ted and Mark for your help.

Mark: I was unaware that list should have no more than 50 items. I checked
on the Adobe forums, and one user reported that he had "loaded up to 4,000
items into one list box programmatically". So I suppose 400 items is
possible. Fortunately for me, the end user of the form has determined that
an alternate list of only 70 items will be acceptable with some scrolling
involved by the end user.

Ted - I appreciate the advice on the code. I will give that a try.

Thanks again to you both.

Kenn


----- Original Message ----- 
From: "Ted Daniels" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 17, 2004 2:12 PM
Subject: Re: [PDF-Forms] Multiple Selection Question



PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/
__________________________________________________________________

KC:

Use Javascript to check if field1 is blank, if yes, put value in field 1, if
not, and field 2 is blank, put value in Field 2 and so on. I use this a lot
to do quick selelctions form a list or drop down to quickly populate a
series of secondary fields by clicking on different selections in an option
box

The stuff below gives you an idea of how to do it. There are lots of
variations on this depending what you want to achieve.

Ted Daniels

if (field1= = "")
    {
        field1 = selection
    }
else if (field1 ! = = "" && field2 = = "")
    {
        field2 = selection
    }
else if (field1 != = "" && field2 != = "" && field3 = = "")
    {
        field3=selection
    }
else
    {
    alert("All fields are full");
    }
----- Original Message ----- 
From: "kc" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 17, 2004 1:30 PM
Subject: Re: [PDF-Forms] Multiple Selection Question


>
> PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/
> __________________________________________________________________
>
> Mark
>
> Your solution makes sense, but as you noted it would involve 2 pages. I
> think I am just going to use a list and cinch it up in size so only a few
of
> the choices show at a time. That will give the users a vertical scroll bar
> to to navigate to and make their other selections.
>
> I still need to display those selections to the end user of the form, and
am
> using this on the selection change tab of the list field. var f1 =
> this.getField("txt_dmm");
> f1.value = event.change;
>
> With the above code, it puts one one of the selections in a text field,
but
> not all of them.  Ideally I'd like to separate out the selections into
three
> different text boxes anyway. Is there a way for me to tell it to put the
> first selection in txt_dmm, and if there is a second selection put it in
> txt_dmm_2, and if a third selection put it in txt_dmm_3?
>
> Kenn
>
>
> ----- Original Message ----- 
> From: "Lauterbach.Mark" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 17, 2004 11:54 AM
> Subject: RE: [PDF-Forms] Multiple Selection Question
>
>
>
> PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/
> __________________________________________________________________
>
> Just my opinion - but I think 426 choices would justify it's own page
> (that doesn't print, perhaps) with check boxes.  Then write a script
> that takes the info from that page and populates your list.
>
> Not an elegant work-around, I admit, but it should work and maybe even
> be a little more user-friendly than scrolling through hundreds of
> options in a single field.
>
> Mark
>
> -----Original Message-----
> From: kc [mailto:[EMAIL PROTECTED]
> Sent: March 17, 2004 12:53 PM
> To: [EMAIL PROTECTED]
> Subject: [PDF-Forms] Multiple Selection Question
>
>
>
> PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/
> __________________________________________________________________
>
> Hello All
>
> I've run in to a limitation in Acrobat that has me stumped, and I was
> hoping someone has seen this before and may have some ideas on a
> work-around.
>
> I have a form that uses a combo box field to allow users to make a
> single selection from 426 choices. The requirement for this field has
> changed. Now the users must be able to select multiple items (probably
> no more than 3) from the list of 426 choices.
>
> I can change the combo box to a list box, which offers the multiple item
> selection capability, but the physical length of the list on the form
> makes this solution prohibitive.
>
> Any suggestions on how you may have solved theis problem, or ideas you
> have would be appreciated. As I said, I am stumped - I don't see how to
> get around this limitation in Acrobat.
>
> Thanks in advance.for your time
>
>
>
>
> To change your subscription:
> http://www.pdfzone.com/discussions/lists-pdfforms.html
>
>
> To change your subscription:
> http://www.pdfzone.com/discussions/lists-pdfforms.html
>
>
>
> To change your subscription:
> http://www.pdfzone.com/discussions/lists-pdfforms.html
>
>


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfforms.html



To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfforms.html

Reply via email to