We have a form that a user completed, the top portion is pretty straight forward, some general details about the submission, below that we have a table of rows that allows the user to submit individual row details about the submission(basically its a list of parts to order)
Since only 3 of the 6 fields are required to submit the form, and only 1 row is required to submit the form, how can i insure that atleast 1 row has atleast the 3 fields completed before allowing the form to be submitted?
My forloop starts like this, this isnt all of it of course, but gives an idea of how we are submitting the data.
foreach (HtmlTableRow row in tblDetails.Rows) { int quantity = 0; String unitmeasure = String.Empty; String partnumber = String.Empty; String description = String.Empty; decimal unit = 0; ...

Go to the complete details ...