logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
fekir08  
#1 Posted : Saturday, October 17, 2020 6:59:58 PM(UTC)
fekir08

Rank: Newbie

Groups: Registered
Joined: 10/13/2020(UTC)
Posts: 4
Spain
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]
doggy  
#2 Posted : Saturday, October 17, 2020 7:35:54 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,218
Belgium
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
fekir08  
#3 Posted : Saturday, October 17, 2020 8:18:09 PM(UTC)
fekir08

Rank: Newbie

Groups: Registered
Joined: 10/13/2020(UTC)
Posts: 4
Spain
Location: Cordoba

Originally Posted by: doggy Go to Quoted Post
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,
doggy  
#4 Posted : Saturday, October 17, 2020 8:40:51 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,218
Belgium
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
Users browsing this topic
Guest
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.