getting src of img tag dynamically

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
bc101820
Posts: 5
Joined: Thu Jul 05, 2018

09 Jul 2018

I have a list which has people's images with the title of theirname + id .
I also have a main form which includes the number field cimtasid and lookup field namesurname(as their name) .
What I want to do is getting the url of their name + id so that I can assign it to the src of img tag. But I can not join these values together.
I mean, var object = namesurname + id : How can I do that ?

Note : id is a unique value that company gives.

Your help is appreciated, Thank you !

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

09 Jul 2018

Dear bc101820,
What do you mean by "can not join"? Is there some error you are getting, or a result that doesn't match your expectations? Is the issue getting the name and the surname from a lookup field or something else?
Cheers

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 19 guests