Jump to content
  • 0

Domain Order Form Using Select Instead Of Checkbox


Ken Ng

Question

Hi guys,

 

I need help on how to use select dropdown instead of checkbox on lookup.pdt

<div class="form-group tlds">
    <?php foreach ($tlds as $tld=> $pack) { ?>
    <label class="checkbox-inline">
        <?php $this->Form->fieldCheckbox("tlds[]", $tld, in_array($tld, $this->Html->ifSet($vars->tlds, array()))); ?>
        <?php $this->Html->_($tld);?>
    </label>
    <?php } ?>
</div>

Any help/advice would be great.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...