howarda

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-12-18
22:26
4159 views
Populate a field with dependent information
I have a multi-relational field that I use as a dependent field with values managed in an auxiliary table. When a user makes a choice in the independent field, I'd like to populate the dependent field with the values that correspond, rather than make the user actually select them. Has anyone found a way to do that?
For example: If a user selects "Application" in the independent field, they would see the names of three applications in the left side of the dependent field that they have to select to move to the right side to populate the field. I want the system to go ahead and populate the field with the names of the applications without the user having to do anything.
For example: If a user selects "Application" in the independent field, they would see the names of three applications in the left side of the dependent field that they have to select to move to the right side to populate the field. I want the system to go ahead and populate the field with the names of the applications without the user having to do anything.
4 Replies
jmalin

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-12-22
00:49
Can you display the values to be selected using Sub-relational field to the Aux table item, then set them in the current item using an post-transition AppScript?
howarda

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-01-05
03:25
Thanks for responding, Jeff. I'll have to think about whether it would be ok to populate the field after the transition. What would the post-transition AppScript do?
howarda

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-01-08
02:11
Yes, thanks, that behavior would work for me. I see in the AppScript guide information (and a sample script) on copying information from one field and putting it in another. Hopefully, I can figure out a way to use the sample script as a starting point and edit it to populate the same field.
jmalin

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-01-08
01:52
The sub-relational would display the field which will be set when the user presses OK. The Post-transition script would actually retrieve and set the field value in the current item.