I am new to Deluge Scripts so am posting this issue here so someone can assist me.
I have a form with the following fields. (1) Date, (2) Priority, (3) Due Date, (4) Past Due Date
Priority is a drop-down field with three options namely High, Medium and Low. High Priority will have 30 days, Medium will have 60 days and Low will have 180 days. Below is the scenario:
If someone enters date into the Date field and selects High from the Priority drop down field then automatically the Due Date should be populated. As in this scenario, the Priority is high so based on the Date of input, it should include a date that will be 30 days. That should be automatic.
Any days past the 30 days should be include in the Past Due Date field.
Hope this is clear and someone can assist me.