Hi again, thanks for the response Adrian a Leuh.
Yesterday I post a response, but I can't see it. Something was wrong publishing, I think.
I have a form field that contains a initial year (like 2013 value for example)
I have a form field (option set named period) that contains: 1 year, 2 years, 3 years,.......
I need the dif between current year and initial year: 2023 -2013 = 10 (Javascript value stored on javascript var difyear)
I have a yesno field updated by this calc like:
If period == " 2 year" and difyear == (2,4,6,8,10,12,14,16.....) then yesno=true
If period == " 3 year" and difyear == (3,6,9,12,15,18.....) then yesno=true
.........................................
I don´t know how to do with workflows. I'm not an expert. Any idea?
How can I get current year in a workflow condition to evaluate the dif between initialyear?
I think it is possible with a plugin, but I'm not an expert programmer.
Thanks in advance.