Hidden fields default value

How can I change the default value of a hidden field? The “Edit hidden fields” form in the settings doesn’t seem to do anything.

You can set up a custom logic rule that runs when the form is loaded, and set the hidden fields to desired values