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:
Flor
Past 24 Hours:
1
Prev. 24 Hours:
0
Overall:
5276
People Online:
Visitors:
427
Members:
0
Total:
427
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
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
Tags:
Design Studio datepicker calendar
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";
Tags:
Design Studio datepicker calendar
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.
Tags:
Design Studio datepicker calendar
Phil Romov
Veteran Member
Posts: 44
6/20/2012 5:30 PM
Split
Developer tools (F12) makes it easy.
Glad you got it sorted
Tags:
Design Studio datepicker calendar
Please
login
to post a reply.