smusselm-1711829827 Posted June 20, 2024 at 08:30 PM Share Posted June 20, 2024 at 08:30 PM This might be something simple, but I created a banner custom field and I want to retrieve the Text not the field value of another multiselect field. I have the same issue with checkboxes. I've tried a lot of things and I can't get them to work. I'm using Joomla 5. $department = implode(',', $CustomFields->fieldValue('jr_department',$text)); //returns false $department = implode(',', $CustomFields->field('jr_department',$text)); //returns false $department = implode(',', $CustomFields->fieldValue('jr_department',$entry)); //works but provides value not text $department = implode(',', $CustomFields->fieldValue('jr_department',$output)); //returns false $department = implode(',', $CustomFields->field('jr_department',$output)); //returns false $department = $CustomFields->field('jr_department',$output); //returns "array" I just can't seem to land on the right combo. I've searched the help, but can't find it. I can loop through the array and associate values back to text, but that seems inefficient. You have to have an easier method! Please help! Link to comment
Alejandro Posted June 21, 2024 at 10:16 AM Share Posted June 21, 2024 at 10:16 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
smusselm-1711829827 Posted June 21, 2024 at 06:06 PM Author Share Posted June 21, 2024 at 06:06 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted June 21, 2024 at 06:48 PM Share Posted June 21, 2024 at 06:48 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Solution smusselm-1711829827 Posted June 21, 2024 at 07:26 PM Author Solution Share Posted June 21, 2024 at 07:26 PM (edited) This section is only visible with a valid subscription. If you have a valid subscription, please login. Edited June 21, 2024 at 07:26 PM by smusselm-1711829827 Link to comment
Recommended Posts