Set required based on Lookup value

  • 15 October 2019
  • 1 reply
  • 20 views

Badge +1

Hello,

 

I need to set up a field required based on a value in List Lookup field.

 

Example: I have list lookup field connected to list column "Numbers" with choices 1,2,3,...

 

Then I have SLT field "Name" and I want this field to be required IF value in field "Numbers" equaels "2".

 

I tried to set expression - {ItemProperties}Numbers==2 but not working.

Should I create form variable?

 

Thank you for any advice.

 

 


1 reply

Badge +12

@kyon84 .....Item property uses the value when the form loads....it won't update at run time....instead name your SLT control and use that control to check the value and use it in validation rule.

Reply