I have a repeating row. In that I have several input fields. Let's call two of these input fields inputA and inputB. inputA can only take in number. And input B is a free text box.
I need to make sure that if inputA value is greater than zero, then inputB is filled up otherwise it triggers a validation letting user know which row inputB is not filled up.
How to do this validation?
write a validation rule and assign it to one of controls
formula would look like
InputANamedControl > 0 && IsNullOrEmpty(InputBNamedControl)
This does not really work. It does validate initially. However, it fails to validate subsequently.
For example, if I have two repeating rows and the named controls are InputANamedControl & InputBNamedControl.
If I have for row1, both these invalid. Then, it picks up the validation. Now, I fix one of the invalid and press submit. Rather than showing the invalid message, it ends up submitting with the list having empty for that field. :"(
I'm affraid you might have something misconfigured
it should normally work
could you post some screenshots how does your design look like and what you experience at runtime?
as well what form platform and version are you on.