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
Hide Date Field Date Picker Icon
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Starr
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5327
People Online:
Visitors:
215
Members:
0
Total:
215
Online Now:
New Topics
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
IPA/ProcessFlow
Retrieving GUID from InforOS
7/25/2025 2:22 AM
Hello everyone, I was wondering if there is a way
IPA/ProcessFlow
IPA for forwarding cost messages (MA64/MA66.3)
7/23/2025 6:07 PM
When a buyer has an invoice cost message where the
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3293
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
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
Hide Date Field Date Picker Icon
Please
login
to post a reply.
4 Replies
0
Subscribed to this topic
12 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Kevin Cubillas
Basic Member
Posts: 9
6/19/2012 6:22 PM
Hi,
I am working on a DS form that has fields I want to hide and display as a user fills out other fields. When I try to hide a date field, the little date picker icon (
) does not disappear. The date field disappears but the icon does not. Also, if I place another field on top of it and make it visible, the date picker continues to display through the visible field.
Code to make date field hidden:
var objDate1 = lawForm.UIDocument.getElementById("_f22");
objDate1.style.visibility = "hidden";
Any ideas???
Tags:
Design Studio datepicker calendar
Phil Romov
Veteran Member
Posts: 44
6/19/2012 6:56 PM
Split
Not that this would be portable, or officially supported, or anything, but you could use something like jquery (something like either in your source or in your default.html for the portal role, if the source doesn't work) and then use dom traversal to find the date picker element, something like
http://api.jquery.com/next/
maybe
Even easier would probably be to inspect the lawson generated html and manipulate that
Phil Romov
Veteran Member
Posts: 44
6/19/2012 7:04 PM
Split
Even easier, I pulled up AP20 in MSIE, went to developer tools, searched for ico_form_calendar (that's the filename of the little date picker icon) and found the id (analogous to _f22) to be SELBUTTON_f15
You can use the same technique to find your date picker. In fact, I bet for your case, you could just add this code:
var objDate1_picker = lawForm.UIDocument.getElementById("SELBUTTON_f22");
objDate1_picker.style.visibility = "hidden";
Kevin Cubillas
Basic Member
Posts: 9
6/19/2012 8:27 PM
Split
Thanks Phil! That worked. I need to get my arms around the ability to mine objects in a rendered form in IE. That's very good skill to have.
Phil Romov
Veteran Member
Posts: 44
6/20/2012 5:30 PM
Split
Developer tools (F12) makes it easy.
Glad you got it sorted
Please
login
to post a reply.