I have a grid with 4 rows. First row is Product Name, second is Product Description, then Price, then Quantity. Name and Description are text responses, and Price and Quantity are numeric.
There are 4 columns for respondents to fill in as many products as they offer.
Within each column, I need the survey to return an error if Product Name (r1) is non-blank and any of Product Description (r2), Price (r3), or Quantity (r4) are blank.
I've tried the following but it's not working. Any ideas?
if ((SSI_GetValue ("ImagingGrid_r2_c1") == "") && (SSI_GetValue ("ImagingGrid_r1_c1") != "")
var strErrorMessage = "If you indicated a product exists, you must fill in a description.";