How to validate array input fields?

Posted 11 months ago by MohammadAsadi

Hi

I have 3 input that was array

name[]

city[]

address[]

How to validate all of them?

I need to validate when one of them isset show error to two another input.

for examle:

name[0]="a"

city[0]="b"

address[0]="c"

name[1]="d"

here show error to city[1] and address[1]

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.