I want to create a form where there will be 4 inputs per page. It will be like 20 pages. I have to make sure that the total number of the entered input values are 10.
page1
input1: 2
input2: 0
input3: 5
input4: 3
page2
input1
……
in case it is not 10 i should display an error. Is there any smart way to get those 4 inputs for every page and add a custom validation to it?