Rule is not triggering / working to set a hidden field

I am trying to do something very simple, which is to set a Hidden Field that I created to a specific value. Eventually this will be done with the result of an API call, but for now I just want to test some business logic.

I have the Rule being triggered when the form loads (our first Step is called “Start”). Once the form step loads, the hidden field should be set to 1.

The Rule is currently active, and it is the only Rule at the moment in my form. As I am testing the form however, I am looking at my submissions and there is clearly no hidden field being set. I have tried form submissions in the Test Form as well as the Live Form, and same result in both.

What is happening or what am I doing wrong?

Additional screenshots since the post only allowed me to upload 1 media image…

Additional screenshots since the post only allowed me to upload 1 media image…

Hi @alexbans ,

I see that you applied the logic on the staging form, and when I did try it via Test Form of the staging form, it works fine and the value is being set on the time the form step is loaded. Are you still experiencing this issue?

Hi Kenny,

I was able to figure it out - thank you for reaching out. I had a hidden field that was a Number, and I had logic that was trying to set the field to be a digit, but it turned out this was probably assigning a string of ‘1’ (for example) to the hidden number field.

Thank you,
–Alex