I am using struts validator for the validations. I am doing a required fields validation where it is a multiple entry screen where user would enter different expenses like,
1. Name, Date, Expense
2. Name, Date, Expense
3. Name, Date, Expense
4...
5...
If user does not enter name in 3rd row i want to show a message like "Name is not entered in row 3". where the row number in the message is a place holder "{0}", how to pass the value which is present in the form to the place holder? What needs to be mentioned in validator.xml so that the place holder {0} should fill in the value from a form field?
1. Name, Date, Expense
2. Name, Date, Expense
3. Name, Date, Expense
4...
5...
If user does not enter name in 3rd row i want to show a message like "Name is not entered in row 3". where the row number in the message is a place holder "{0}", how to pass the value which is present in the form to the place holder? What needs to be mentioned in validator.xml so that the place holder {0} should fill in the value from a form field?