Hello Alena,
Joshua is right, you have to use the macro editor and insert macro there instead of inserting the macro directly into the default value field.
You can open the macro editor by clicking on the small arrow between the default value field and its label.
Best regards, Martin