Rank: Newbie
Groups: Registered
Joined: 10/13/2020(UTC) Posts: 4 Location: Cordoba
|
Hi,
My idea is that when you select the value from a drop-down list in the other field, the corresponding value is automatically loaded.
For Example:
I have two list:
List1: BENZEMA, SERGIO RAMOS, HAZARD List2: 09, 04, 23
So if I select the BENZEMA value in the first list, the value of 09 is loaded automatically in the other field.
What I want to achieve is that selecting the name of the player in my template will load the photo of that player.
[img]https://ibb.co/QfRWSc5[/img]
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Why do they have to be separate lists as the image is directly related to you name list ?
Assume by template you mean a title and the list is a datasource linked to it ? I so name all the photos the same to the persons name and have your title field format set to something like d:/{0}.jpg where {0} would become the persons name
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/13/2020(UTC) Posts: 4 Location: Cordoba
|
Originally Posted by: doggy Why do they have to be separate lists as the image is directly related to you name list ?
Assume by template you mean a title and the list is a datasource linked to it ? I so name all the photos the same to the persons name and have your title field format set to something like d:/{0}.jpg where {0} would become the persons name The reason for adding two lists is because in my template I get the data: txtLISPLAYER: BENZEMA imgPLAYER: benzema.png I had not thought of doing it as you say. As I understand it would be like this: For example if I have only a list of players in UTC: Benzema, Hazard, Sergio Ramos. How can I make it in the template to take the value of the player's name so that it loads the photo automatically?. Thank You,
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Sorry not in dept familiar with the excellent UTC as i make custom controllers for my needs and use datasources directly
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close