Re-factored verify_edit_inputs function with ProductRow class