Support

Account

Forum Replies Created

  • Yes this goes well. My question is: how do I get the value as selected in the frontend (test1 in your example) retreived in another page.

  • I can make the possible values displayed one a page. But not the selected one.

    The code i’m using so far:

    <?php
    $beschikbaar = get_field('beschikbaar');
    ?>
    <select name="beschikbaar" id="beschikbaar">
      <option>Maak je keuze</option>
      <?php
        foreach($beschikbaar as $beschikbaar) { ?>
          <option value="<?php echo $beschikbaar; ?>"><?php echo $beschikbaar; ?></option>
      <?php
        } ?>
    </select> 
Viewing 2 posts - 1 through 2 (of 2 total)