Hi there
I hope someone can help me please.
I've created a form below screenshot

In the form there is a 'Date of first payment' and then the 'Cleared by' (which is a date) is a calculated field based on the 'Date of first payment', 'arrangement amount' and the 'Agreement Payment Value'.
What I need to try and calculate is the 'date of next payment', which will be based on 'Date of first payment' and the Agreement Frequency' and using todays date.
So if the start date was 28/2/2023 and they agreed to pay every 2 weeks, the next pay date would show as 25/4/2023. Same if they chose to pay weekly, the next payment date would be 18/4/2023 (if starting 28/2/2023) . Now if they chose to pay monthly (same start date) then the next payment date would be 28/4/2023
Does that make sense. So whatever todays date is it would need to show the next payment date after today
Does anyone know how to do this, and is it actually possible.
Thanks for your help
Kind regards
Karen