You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Multi-selection Drop Down list in PeopleSoft?

9 replies [Last post]
Guest's picture
Guest

I have a requirement to mimic a current Web "critera-entry" page that used ActiveX controls, including several DropDown lists that allow for multiple selections to be made.

Unfortunately, I cannot find any such capability within PeopleTools/Code. But before I admit defeat and create the page using a series of grids/scroll areas, I thought I'd check to see if anyone knew how to do this.
Any ideas?

CompShack's picture
User offline. Last seen 5 years 34 weeks ago. Offline
Joined: 12/09/2007
Posts: 167
Array to Save Multi Selection?!

Hi there,
I’m afraid you are right. I don’t think there is a way to select multiple values from a drop down list in PeopleSoft, unless someone out there could prove me wrong.

Here is an idea on how to accomplish your multi-selection though. You can place some peoplecode behind the field (FieldChange event). The code will take the value the user selected and save it in an array. Once the users selected a value, you can display a message on the page or even a messagebox that informs the user of the value selected and the option to select more values if need be. If the user decides to select one more value, your code (FieldChange) will capture the 2nd value selected and display the values selected so far to the user. You can also provide a button to clear the value just in case the user selects the wrong one my mistake!

Not sure if this is your best option but it sure should work, and sounds easy to implement!

Please report back and share with us the route you took on achieving your multi-selection.

Good Luck!

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

Larry's picture
Larry (not verified)
Multi-selections

Thanks, but the user needs to see their selections. So rather than fiddle with that, I'll probably just go with the standard grid listing the valid values, with multiple selection (checkbox) indicators for each row. That way they can see all valid values, choose their poison, and it's all relatively easy.

CompShack's picture
User offline. Last seen 5 years 34 weeks ago. Offline
Joined: 12/09/2007
Posts: 167
That works too

"Thanks, but the user needs to see their selections."

You can still accomplish this also by displaying the value and keep adding to it when ever the user selects one. But your idea sounds good. I was just thinking of a way to keep the "drop down".

That was a good post, I never had a requirement like this before. So thanks for the eye opener!

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

Guest's picture
Guest (not verified)
Project requirements

> That was a good post, I never had a requirement like this before. So > thanks for the eye opener!

Yeah, welcome to my personal hell. I'm Lead Developer on a project that entails basically re-writing an online .Net data entry system into Peoplesoft, where the deadline is being given to me and the users were told they could have "everything they want". UGH! I could strangle the Big-Wig Exec who thinks it's "no big deal"!

Luckily I've got a supportive Manager and PM, and some good developers. And it's some good work--highly customized Workflow, ability to SAVE with or without edits enabled, multi-row effective-dated pages, mass change functionality.

So it's both interesting and frustrating as hell at the same time!

CompShack's picture
User offline. Last seen 5 years 34 weeks ago. Offline
Joined: 12/09/2007
Posts: 167
I could strangle the Big-Wig

I could strangle the Big-Wig Exec who thinks it's "no big deal"!
Does the "Big-Wig Exec" know .Net is not PeopleSoft?!;)

Best of luck to you Larry.

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

Larry's picture
User offline. Last seen 2 years 31 weeks ago. Offline
Joined: 03/18/2008
Posts: 19
Big Wig Exec

The Big-Wig Exec probably doesn't know a PC from a Mac, and probably thinks .Net is an online Basketball game.

Guest's picture
Guest (not verified)
Re: That works too

Hi,

You can achieve the multi selection in peoplesoft. But you will have to do customizations to the code. Multi selection box is not provided out of the box by Peoplesoft. The way you can achieve this is by placing an HTML control on the page. In this HTML control you can write HTML code and get the results as HTML. After this you will have to copy the selected data from the HTML in to peoplesoft fields. This will require good knowledge of Web libs, HTML and peoplesoft.

Guest's picture
Guest
Re: Project requirements

i feel you! haha, your post basically sums up how i feel about these functional people who thinks everything is easy

Guest's picture
Guest
Re: Multi-selection Drop Down list in PeopleSoft?

There is no PeopleSoft control to capture the multi selection values, but you should be able to achieve this requirement with the combination of HTML Area and Java scripts, using HTML you should be able to enable the multi selection list box in the page. Try following the steps and see if that works for your requirement

ex.

1. Modify the page and place the 2 html area field, one for list value and another one for the Java script.
2. Modify the page and place hidden derived work record field in level 0.
3. on the post build event write a code logic to populate the html area field with list box values and translate code also enable the multi-section property in the html tag.
4. also, include the hidden type field in the html area.
5. Embed the java script into the 2nd html area, and write a java script logic which should listen the list box selection event and populate the selected translate code into the derived work record field separated by comm delimiter.
6. Save pre change event, read the level zero derived record record field and split the comma separated values from the list box which will return multiple translate code

By
Nirmalkumar Ganesan