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
5 replies
Subscribers
7 subscribers
Views
2235 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, I would like to create textFields dynamically based on the value
aswinb
over 11 years ago
Hi,
I would like to create textFields dynamically based on the value of a count variable.
I wrote the following apply function for doing that, but so far it is not working. I think it is a minor problem with my apply function. Can anybody help:
apply(
a!textField(label:" Technical Officer "& _ & "Hours to complete PSA:", value:ri!hours, saveInto: ri!hours), makeRange(local!technicalOfficersCount))
Basically i want to create however many textfields as are there in the local variable technicalOfficerCount. Any ideas would be deeply appreciated....
OriginalPostID-104744
OriginalPostID-104744
Discussion posts and replies are publicly visible
Parents
0
ben.anderson
Appian Employee
over 11 years ago
Create a rule that uses the SAIL textField component and has the label, value and saveInto fields as rule inputs. Then you can do something like:
apply(
rule!yourPrefix_textField(
merge(
repeat(length(local!technicalOfficersCount),"Your Label Text"),
repeat(length(local!technicalOfficersCount),ri!hours),
repeat(length(local!technicalOfficersCount),ri!hours)
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
ben.anderson
Appian Employee
over 11 years ago
Create a rule that uses the SAIL textField component and has the label, value and saveInto fields as rule inputs. Then you can do something like:
apply(
rule!yourPrefix_textField(
merge(
repeat(length(local!technicalOfficersCount),"Your Label Text"),
repeat(length(local!technicalOfficersCount),ri!hours),
repeat(length(local!technicalOfficersCount),ri!hours)
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data