Firing a validation on Dropdownlist Change event

  • 16 February 2016
  • 2 replies
  • 4 views

Badge +2

Hi ,

 

I have been looking for one solution which needs help. I need to fire the validation on dropdownlist change event, Is it possible in K2?

 

I have a textbox which is a required field and the required validation should be fired on the selection of the dropdownlist item instead of button click event. Please let me know how to do it?

 

Thanks in advance.

 

Rajesh


2 replies

Badge +4

Hi Rajesh,

 

You can add a rule on the dropdown list and simply add the condition "if the view passes validaion". Then configure the rule and set the textbox to required. When your dropdown then changes the validation will fire and show that the textbox is required.

 

15493i7819033DD98A5866.png

 

HTH

Jurie

Badge +2

Thanks Jurie for your reply and sorry for my delay response.. :)

Reply