AnsweredAssumed Answered

Change button client click based on value

Question asked by andri_bjorn on Oct 15, 2018

I found an article here about how to display help dialog when a button is pressed, followed this guide here:

How to create a formatted Help dialog for a Nintex Form 

Now I need to be able to show 3 different help text, or images in my case, depending on what value is selected in a choice control.

This is how the client click looks like on the button

And this is the HTML source of the Rich Text control that is storing the images

Is there any way that I can change the Topic_2_help to Topic_1_help or Topic_3_help based on a value from another control?

 

I had thought of somehow putting this in the custom Javascript section on the form settings and making the button call that function. And that function would have some kind of if statement to evaluate if there should be 1, 2, or 3 based on another control. But I'm not sure how I would implement that.

Outcomes