12 Replies Latest reply on Jan 9, 2013 3:44 AM by thorsten.rams

    javascript for conditional formatting of table row

    MikeTGates

      I have a table on one of my Livecycle forms which has rows that need to be conditionally formatted. A calculation involving the values of two of the cells should determine the background color of the cell. I have tried to implement this, but my lack of experience with the Livecycle javascript API is keeping me from being able to get anything out that doesn't just report "Syntax Error" (of course without saying what is invalid...I find Javascript development inside the workbench script window to be extremely frustrating).

       

      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.

       

      Thanks,

      Mike