Cannot enter calculations for fields
It is a Bug, not an idea.
When trying to insert a calculation into a form field to show the new date (also with other simple calculations), for example
var f = this.getField("Heute");
f.value = util.printd("d.m.yyyy",new Date());
I can insert it, but when clicking OK the field is empty and nothing calculates.
There seems to be an error, snce this has worked befor – or I am doing it wrong, but I cannot see how.
Any ideas?
![](https://secure.gravatar.com/avatar/3ceb2473ff5fdb1e8249c27580796b7f?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Hello,
I have tried putting your script in text box and it works for us.
Hope you are putting this script under Properties-> Custom Calculation script.If it still doesn't work for you, could you please share your file with us along with your changes?
Thanks.