Hi!
I am using a radio button field and what to set a default value.
This is the definition:
[
'name' => 'Circuit type',
'id' => "{$prefix}circuit_type",
'type' => 'radio',
'inline' => true,
'options' => [
'regular' => 'Regular',
'maintenance' => 'Maintenance',
],
'std' => 'regular',
],
My problem is, this only works if the field is on it's own. The moment I add another field to the fields array it no longer works.
This confuses me a lot so I hope you can help me.
Thanks,
Ruud