You are viewing limited content. For full access, please sign in.

Question

Question

Create Date and Day of the week in a table

asked on August 7, 2019 Show version history

I am using Javascript to derive the first and last day of the month based on a starting date.  Then, using the last day of the month; add that number of rows to a table.  The table fields include date and day of the week for each day in the month.  I will attach the code that is working for me so far.  The problem, is that the last day of the week in the table field; throws a calculation error. 

I need some ideas on what it is doing that I can change to fix the error.  Everything else is working great.

thanks for the help

0 0

Replies

replied on August 7, 2019

Did you forget to attach the code?

0 0
replied on August 7, 2019

attached now ... thanks

0 0
replied on August 7, 2019

      $('.myTable .cf-table-add-row').trigger('click');
      $('.myTable tr:last').find('.cf-table-delete').trigger('click');

I added these 2 lines in the javascript right below the lines to add the table rows.  It solved the errant formula issue. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.