I have an original date field, a 2nd payment, and 3rd payment options. I also have a followup field. (all text fields).
The 2nd payment adds a month. The 3rd payment adds 2 months to the original date field. The followup field add 3 days from the original date field.
Example:
Original Date: 02/03/2010
1st payment: 03/03/2010
2nd payment: 04/03/2010
Followup field: 02/05/2010.
Problem:
So far, all this code is working. The part that gets tricky is if the original date is a date at the end of the month like: 02/28/2010. The followup field is saying 02/31/2010.
Here is the code I have currently: