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
7 replies
Subscribers
10 subscribers
Views
7081 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I have a read only text field with value pre-populated. How can I get the displa
shaoyongw
over 9 years ago
I have a read only text field with value pre-populated. How can I get the display value? The saveInto expression is never executed.
a!textField(
label: "label",
value:"testValue",
readonly: true(),
saveInto: ri!tv
)
OriginalPostID-165545
OriginalPostID-165545
Discussion posts and replies are publicly visible
Parents
0
Mike Schmitt
Certified Lead Developer
over 9 years ago
Maybe we need more detail here, but the only thing I can assume is that OP is attempting to push an arbitrary on-form literal value ("testValue") up into a Rule Input - I suppose to be passed back into process? Not sure.
If this is the case then I think @chetany nailed it, with the suggestion to store the literal value in a local variable, display the local variable in the read-only text field, then push it to the Rule Input on button click. I'd note here that it may be a better practice to declare the literal value in the ACP definition on the user input task; but there may be special use cases that don't allow this for whatever reason.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Mike Schmitt
Certified Lead Developer
over 9 years ago
Maybe we need more detail here, but the only thing I can assume is that OP is attempting to push an arbitrary on-form literal value ("testValue") up into a Rule Input - I suppose to be passed back into process? Not sure.
If this is the case then I think @chetany nailed it, with the suggestion to store the literal value in a local variable, display the local variable in the read-only text field, then push it to the Rule Input on button click. I'd note here that it may be a better practice to declare the literal value in the ACP definition on the user input task; but there may be special use cases that don't allow this for whatever reason.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data