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
Setting a Checkbox on intial Load
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
navav4
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5208
People Online:
Visitors:
423
Members:
0
Total:
423
Online Now:
New Topics
Lawson Add-Ins for Microsoft Office
More.... ic81.2
12/5/2025 10:51 PM
We build our PAR's with MS Addins using IC81 a
Lawson Add-Ins for Microsoft Office
Uploads
11/20/2025 3:32 AM
The Next button has stopped functioning on the upl
S3 Systems Administration
Lawson Security Admin (LSA) - Securing Print Manager to self only
10/24/2025 6:27 PM
Looking for someone who would be willing to share
Lawson Add-Ins for Microsoft Office
Lawson Add-in
9/30/2025 6:51 PM
I am looking for a Lawson Add-ins query to add new
Lawson S3 Procurement
Anyone getting PO 0000 not found for company error in PO23?
9/30/2025 2:45 AM
Anyone getting PO 0000 not found for company error
Lawson Add-Ins for Microsoft Office
PO20 - Cancel PO via Add-in
9/25/2025 8:03 PM
Is it possible to cancel PO's using add-ins? I
S3 Systems Administration
S3 Payroll - PayStubs
9/18/2025 6:58 PM
Looking for a reliable solution to streamline the
S3 Systems Administration
Quick Access report
8/25/2025 7:17 PM
Looking for a good way to see who has access Lawso
S3 Customization/Development
LP01 hiding a PTO plan from the list
8/13/2025 4:44 PM
Hi all. is there a way to hide a specific PTO&n
Lawson Business Intelligence/Reporting/Crystal
GLTrans - PO Line/MAInvdtl
8/6/2025 6:13 PM
Hello, we have an existing tabular model for fina
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chesca
1042
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
Setting a Checkbox on intial Load
Please
login
to post a reply.
1 Replies
0
Subscribed to this topic
11 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Robert Spurr
Veteran Member
Posts: 130
New Poster
Congrats on posting!
5/7/2010 2:54 AM
I've created a design studio modification of RQ10 for RSS approval with a checkbox. I want to inquire on a table and set the checkbox based on the value I retrieve. I have no problem reading the value to update the table but reversing the process doesn't seem to work. Does anyone have an example of setting a checkbox?
Thanks
Robert
Robert Spurr
Veteran Member
Posts: 130
New Poster
Congrats on posting!
5/7/2010 2:06 PM
Split
I solved the problem and thought I would share. My not be the best solution but it worked. My first problem was that I couldn't change the state of the checkbox (Checked Unchecked)
if(vCols[20].firstChild.data == "Y")
{
lawForm.setElementValue("_l252","Y");
}else
{
lawForm.setElementValue("_l252","N");
}
if(vCols[21].firstChild.data == "Y")
{
lawForm.setElementValue("_l253","Y");
}else
{
lawForm.setElementValue("_l253","N");
}
This however caused another problem. When I try to update a table if was setting the values to false even if the checkbox was checked. As it turned out the solution above only effected the form but not the current state so I had to read the current state instead.
var vCheck = lawForm.getElementValue("_l252");
if(vCheck == "Y")
{
vCollection = vCollection + "&CAP-FLAG01-CD=Y";
}else
{
vCollection = vCollection + "&CAP-FLAG01-CD=N";
}
var vCheck1 = lawForm.getElementValue("_l253");
if(vCheck1 == "Y")
{
vCollection = vCollection + "&CAP-FLAG02-CD=Y";
}else
{
vCollection = vCollection + "&CAP-FLAG02-CD=N";
}
Hope this helps
Please
login
to post a reply.