How do I create a text field that auto-populates the last day of the previous month?
I am trying to have a self updating PDF that will populate the date with the previous months last day.
If todays date is 6/23/22 then when I open the pdf I would like it to populate 5/31/22. So that any time I open the PDF in the month of June, the date will show the last of May and so on for any month. I work on reports and I am alwasy working in the previous month, so this would be a huge help.
Idealy I would like the range of the previous month as well, so if I open the pdf in June the date range will auto populate to 05/01/22 - 05/31/22. i am assuming this can be solved by using two text fields but the code would be appreciated.
Thanks in advacne to anyone who can help me.
