Possible to make a TEXT BOX as Required?

  • 3 October 2014
  • 1 reply
  • 2 views

Userlevel 3
Badge +16

Hi all,

 

Just wondering if anyone can advise on this....

 

I have a row of text boxes which I want to be required in order for the next row to be made visible.

Without using the Required on the fields in the SmartObject, is it possible to do it on text boxes on a form view?

 

I can't make all the fields required in the smartobject because some of them are invisible (until required), so you can't do a SAVE method becaise K2 will save the required fields are empty.

 

So can you do it on Text boxes alone? i.e Check to ensure all 4 text boxes are complete before displaying another row?


1 reply

Userlevel 4
Badge +13

Hi sharpsharp1


 


On the form you can add a validation rule that check if the text boxes have values and then if the validation is found as true you can have another rule that makes the next row visible, and if the validation is found as false (meaning the text boxes are empty) then you can have a else rule with a message being shown that the text boxes values are required.


 


You can give this a try.


 


Kind Regards


Raymond

Reply