Hello from France
My environnement : SharePoint 2013 Standard On Premise with Nintex Forms & WorkFlow 2013.
My question :
I try to use a picture control to display a logo company in a Nintex Form.
The src attribute for this picture is something like "http://monsharepoint/picture/<Company>.jpg"
where <Company> is a variable.
I have a field name "Company" in my Form where the user can input the company name.
I want to set the src attribute for my picture control to display the correct logo company when the user input n new company name.
Can someone help me to display and update a picture on a Nintex Form with the ability to update the displayed image when an event on a textbox or a combo box can change the src attribute for this picture control ?
Solved! Go to Solution.
You may need to tweak that a bit, but it should get you started in the right direction.
With your help I found a way to do what I want.
I affect a CSS Class "logoCompany" to my picture object.
My solution :
var societe = NWF$(this).val();
var sqlField = NWF$('#'+idSqlCompany);
var societe = NWF$('#'+idSqlCompany).parent().find('select').val();
var imgCompany='url(/images/companies/150x150/' + societe + '.png)';
Thank you for your help.