Skip to main content
Nintex Community Menu Bar
Answer

How to set field value (textbox) when you select a lookup dropdown field - Reponsive form

  • March 18, 2020
  • 4 replies
  • 354 views

Forum|alt.badge.img+3

Hi there,
I'm on Nintex for Office 365. I have a form with a lookup field (Dropdown).
When a user select the field i would like to do a lookup on the lookup list and set a texbox field on the form.

Is this possible when using a Responsive Form?

 

Thanks in advance

Best answer by SimonMuntz

Javascript cannot be used with responsive forms.

4 replies

SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • March 18, 2020
Hi,

Yes what you are wanting to do is possible.
Setup your lookup control as usual and give it a name.
For your single lines of text control add a rule.

When : not(isNullOrEmpty(LookupControlName))
Then: Set value
Value: lookup("list title", "column to filter on",parseLookup(LookupControlName), "output column")

Forum|alt.badge.img+3
  • Author
  • March 19, 2020

Thanks Simon.
Actually came up with similar solution.
Only in the When rule i used length(control)>0.

 

Also another note.. Would i be able to use javascript for this and can i reference javascript on the responsive forms?

 

Thanks in advance


SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • Answer
  • March 19, 2020
Javascript cannot be used with responsive forms.

Forum|alt.badge.img+3
  • Author
  • March 19, 2020
Thanks