Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
9 subscribers
Views
1625 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, How to grey out a txt field in portal version , I tried the foll
sathisht534
over 9 years ago
Hi,
How to grey out a txt field in portal version , I tried the following function(JS) below, but it does the same functionality as hide,
function loadForm() {
if ((window.FormAPI.getValue("fldRequestAction").id)=="Pre-payment"){
var previouslySelectedRequestAction = window.FormAPI.getValue("fldRequestAction").id;
FormAPI.setValue("fldRequestAction", previouslySelectedRequestAction);
window.FormAPI.getElementById("fldPages").disabled = true;
}
}
Thanks,
Sathish
OriginalPostID-206156
OriginalPostID-206156
Discussion posts and replies are publicly visible
Parents
0
Ravichandran Thiruganasambandham (Ravi Sam)
Certified Lead Developer
over 9 years ago
Sathish, you can use attached js file to disable a particular field.
Hope this help you.
setDisabledByFieldID.js
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Ravichandran Thiruganasambandham (Ravi Sam)
Certified Lead Developer
over 9 years ago
Sathish, you can use attached js file to disable a particular field.
Hope this help you.
setDisabledByFieldID.js
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data