HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/self/root/proc/thread-self/cwd/pm/app/Views/custom_fields/input_multiple_choice.php
<?php
$uid = "_" . uniqid(rand());

$options = $field_info->options;
$options_array = explode(",", $options);

if ($options && count($options_array)) {
    foreach ($options_array as $value) {
        $value = trim($value);

        echo form_radio(array(
            "id" => $value . $uid,
            "name" => "custom_field_" . $field_info->id,
            "class" => "form-check-input validate-hidden",
            "data-rule-required" =>  $field_info->required ? "true" : "false",
            "data-msg-required" => app_lang("field_required"),
        ), $value, (isset($field_info->value) && $field_info->value === $value) ? true : false);

        echo '<label for="' . $value . $uid . '" class="mr15">' . $value . '</label>';
    }
}