How do we define a value to checkbox in a form?

How can we define the label and value of a checkbox?

I’ve tried several ways to append the value and can’t get it to work properly.

We’re sending information to a webhook and the names are bloated so I want clean values.

In Elementor this is really easy to do! By using the pipe (‘|’) character in an option value, the part before the pipe will be used as the label, and the part after the pipe will be the actual value.

342965078_3349387025315862_1570651084985823539_n

I have the same problem and without a solution it seems that there is no way to set a value for a checkbox

i dont know it that works, but it is the same issue: Widget Form - field value and text - #3 by nafetS