Setting data field value on hidden field when submitting form.
I have a field, that I want it to be hidden, but still send data onwards after submitting a form. I've tried various different things directly in $form on the field in question, but simply can't get it to work. I can set a value, but the field does not get passed onwards. The only workaround I found was to set value directly in class through boot() function:
However, when I try to do any of the below given combinations, I just can't get it to work, any ideas?
Field simply doesn't get passed in any way.
However, when I try to do any of the below given combinations, I just can't get it to work, any ideas?
Field simply doesn't get passed in any way.
