Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
How to hide a button on a form
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jeffin Joy
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
4988
People Online:
Visitors:
47
Members:
0
Total:
47
Online Now:
New Topics
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
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
Integration / Customization
S3 Customization/Development
How to hide a button on a form
Please
login
to post a reply.
3 Replies
0
Subscribed to this topic
19 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Garry Ferwerda
New Member
Posts: 0
1/19/2011 2:24 PM
I have added a button to AC10.1 on the levels tab in the detail area for levels. I only need the button on the second level address for certain activity groups. Since the button was added to the detail form it appears on every row. I have disabled the functionality of the button on the rows where it does not apply, but I would really like to have the button hidden or have the text removed from the button on the rows where it is not working. Is there a way to hide/unhide a button on a form?
Thanks,
Jason Beard
Veteran Member
Posts: 125
New Poster
Congrats on posting!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
1/19/2011 3:41 PM
Split
Garry,
If you are using design studio you can. From a COBOL level I'm not sure.
For Design studio, within your script you need to get a reference to the object and then set it's display to none.
lawForm.getFormElement("text20").style.display="none";
Garry Ferwerda
New Member
Posts: 0
1/19/2011 6:45 PM
Split
I keep getting an error on page error when I try that. Here is what I have tried:
lawForm.getFormElement("push8",0).style.display="none";
or
var btnElem = lawForm.getFormElement("push8",0);
btnElem.style.display = "none";
John Henley
Posts: 3366
New Poster
Congrats on posting!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
1/19/2011 7:54 PM
Split
lawForm.getFormElement("push8",0).style.visibility="hidden"
Please
login
to post a reply.