Support

Account

Forum Replies Created

  • Thanks, it works perfectly!

    Only one more question: if I have multiple selections in checkboxes, how can I use the implode correctly? At the moment I tried this:

    
    $myArray = array();
       foreach($choices as $value => $label) {
         if (in_array($value, $field_value)) {
         $myArray[] = "<a href='$value'>$label</a>";
         echo implode( ', ', $myArray);
    } }

    But it kind messes something up.

  • Thanks for the swift reply. I tried this solution, but as far as I managed to get with the relationship, it presumes that I have a post for every organization, where the URL is specified?

    Isn’t there any other and simpler solution, e.g having checkboxed field for URLs, where the names of the organizations are just replaced with URLs (the order of values is the same).

    So for example if the chosen value in organization_field is for example third in this checkbox list, then I will just take the third value from url_field and link them together in frontend?

Viewing 3 posts - 1 through 3 (of 3 total)