Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Design Studio
Add Custom Drop Down list
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Flor
Past 24 Hours:
1
Prev. 24 Hours:
0
Overall:
5276
People Online:
Visitors:
106
Members:
0
Total:
106
Online Now:
New Topics
S3 Customization/Development
Data / List view on Lawson Portal
5/21/2025 2:37 AM
Client is on S3 V10. All delivered and custom form
Lawson S3 Financials
Applying credits to open AP invoices
4/28/2025 1:26 PM
Hello, I am new to the Lawson system and after ru
Lawson S3 Financials
Lawson APIA
4/28/2025 1:22 PM
Has anybody recently installed Lawson's APIA m
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Infor CloudSuite
How to build a Pre-Prod tenant
2/7/2025 1:28 AM
After we finished our implementation and ended our
Lawson S3 Procurement
Browser issue with RQC Shopping
1/28/2025 5:49 PM
Since the recent Chrome/Edge updates, our RQC shop
Lawson S3 Procurement
S3-Procurement New Company
1/22/2025 10:38 PM
My Accounting Department has created a new Company
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1374
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
User Experience
Lawson Design Studio
Add Custom Drop Down list
Please
login
to post a reply.
3 Replies
0
Subscribed to this topic
12 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
maalimsimo
Veteran Member
Posts: 49
6/21/2012 1:02 PM
I need to add a custom drop down list with just about 4 items, to the Lawson AC10.1 'Output Description' field, using Design Studio. Has anyone ever done this before (even on a different form)? If so, could you kindly share your notes, experience, etc.?
Thanks in advance.
Maalim.
David Williams
Veteran Member
Posts: 1127
6/21/2012 1:41 PM
Split
var rcList = document.getElementById("VALUES_l67") // _l67 is the Field Nbr of my ListBox
var span = document.createElement("span");
while(rcList.hasChildNodes())
{
rcList.removeChild(rcList.childNodes.item(0)) // Remove it
}
var apprs=new Array()
apprs=aprList.split(",")
for (a=0;a
{
var disp=apprs[a].substr(0,apprs[a].indexOf("-"))
var desc=apprs[a].substring(apprs[a].indexOf("-"))
var span = document.createElement("span")
span.setAttribute("text",desc) // long desc
span.setAttribute("tran",disp) // transaction value
span.setAttribute("disp",disp) // display value
rcList.appendChild(span)
}
maalimsimo
Veteran Member
Posts: 49
6/25/2012 2:43 PM
Split
Thanks, David.
One follow-up question though: how and where do I specify the values to display on the drop-down list?
David Williams
Veteran Member
Posts: 1127
6/25/2012 6:54 PM
Split
In my example I used an array and cycled through it. You can just use the span.setAttribute and rcList.appendChild for the 4 values you want to build.
span.setAttribute("text","Description1") // long desc
span.setAttribute("tran","Transaction1") // transaction value
span.setAttribute("disp","Display1") // display value
rcList.appendChild(span)
Please
login
to post a reply.