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
How to make Read Only field.
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jessica
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5164
People Online:
Visitors:
266
Members:
0
Total:
266
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Lawson Design Studio
How to make Read Only field.
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
JT
New Member
Posts: 4
5/20/2013 12:20 PM
I have added two buttons on a form "PO Return" and "non PO Return" here....
function CHECK_OnClick(id, row)
{
if(id == "check1")
{
//Getting data value from check box 0 or 1
alert ("po return");
// Disp="R" nm="Submit" value="R" nbr="_111" id="label110" visable="0"
POForm();
}
if(id == "check2")
{
alert ("nonpo return");
NonPOForm();
}
}
The Alerts word fine when clicking the form, however I would like to supress the Requesting Location field on my form which is TEXT11 _f20. I would also like to make another field read only.... OUT5 _f18
Thanks...
Robert Spurr
Veteran Member
Posts: 130
5/20/2013 2:18 PM
Not sure what you mean by suppress the Requesting location field but as for read only, that is easy. Just delete the existing field, add a new text field, assign the data source and finally go into properties and select output only.
JT
New Member
Posts: 4
5/20/2013 3:22 PM
Robert,
thanks. But I need that output field to be output only when the check box is selected and then input field with the check box is not selected.
supression is accomplished.. Meaning make the field disappear when the check box is selected....
JT
Terry P
Veteran Member
Posts: 234
5/20/2013 3:58 PM
JT - not sure how to "hide" a field, but you can toggle disable/enable a field by using this command.
lawForm.getFormElement("text1").disabled = true
I've never figured out how or where to get all the properties you can set. I've clicked on just about everything I could in Object Viewer with no luck.
John Henley
Senior Member
Posts: 3348
5/20/2013 4:48 PM
lawForm.getFormElement("text1").readOnly=true;
You are not authorized to post a reply.