how do I get to the radiobox values after submitting the form
I need to get to the color names.
1=red
2=blue
3= green
I know this description is stored next to the field in $this in ["options"], but I don't know the path to it. Or there is another way to find this value?
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine! Donations: paypal.me/healyhatman Professional Work: kamron@skyspider.com.au Custom CF / CC Plugins and Extensions: skyspider.com.au/store
If you'd like to buy me a coffee or two, thank you very much
i need both for further processing in the form
If you'd like to buy me a coffee or two, thank you very much
$values = [1 => 'red', 2 => 'blue'];
return $values[$this->data('radio_group_input_name')] ?? null;
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
I did it by giving
This is enough to write it once, but when writing