Where did you place this code?
Maybe a hidden field would prevent this?
Custom calculation script in the Calculate tab.
In what field did you add this script?
Is there any script that is updating the "GLOBAL__POSTING_DATE_15"?
Do you have a field with today's date?
If so, I would have places the code in the "on blur" action and use the value of today's date field for the base date for adjustment. That way the "GLOBAL__POSTING_DATE_15" would only be updated as the today's date field is changed.
I have a single field where I inserted the script. Field name titled "GLOBAL__POSTING_DATE_15". From the script, the date auto populates mm/dd/yyy and adds +15 days.
Bare with me as i'm still learning. I'm not familiar with "on blur"action but assuming you meant adding it to the actions tab as opposed to the Calculate tab, I can give that a shot.
You can't do it like that. You've created a circular calculation. Each time you take the value of the field and add 15 days to it... You need to use some other event to trigger the calculation, or use the current date in your script, instead of the value that's already in the field.
I jumped the gun. I was seeing results based on a value (date) already populated. When i clear text, nothing happens,.
Thanks everyone. I was able to make it work using George's suggestion. See link..
Only difference is that the original date (auto imported by our UI interface) is hidden.
Defaulted the value of 15 to the second field and made it hidden as well.