This seems like something that would be very common to do in a table, so I was hoping someone could post their script code so I could take a look at it. I should also mention that the rows are repeating rows, and are based on XML data in an attached datasource.
I'm not sure how to post a sample here, buts its a very simple thing I'm trying to do:
I have a table designed in Livecycle Form Designer.
I want the rows of the table to be, say, red when a specific cell on that row has a certain value.
Otherwise, I want the rows to be white (the default).
could you please post the script of the exit event from your attachment "Purchase Order_add specified row.pdf" here that changes the row color.
I don't see how to extract that from the attached pdf.
Thank you very much.
Mike, the process is slightly different if you want to deal with repeating rows bound to an XML dataset. There is an event on the row called "indexChange" that will fire as each row is created and bound to your data. Inside that event you can check the data and change the color of the row. See the attached sample form and xml data.
A calculation involving the values of two of the cells should determine the background color of the cell
This should read:
A calculation involving the values of two of the cells on a row should determine the background color of each cell in that same row.