Skip to content

Instantly share code, notes, and snippets.

@fIa5h
Created April 20, 2015 18:41
Show Gist options
  • Save fIa5h/9b92b39dbfed49b5264c to your computer and use it in GitHub Desktop.
Save fIa5h/9b92b39dbfed49b5264c to your computer and use it in GitHub Desktop.
<!-- entire element -->
<div class="tokenfield form-control" style="text-align:left;border-bottom:none;">
<!-- hidden input -->
<input type="text" class="form-control validate-me" value="[]" tabindex="-1" style="position: absolute; left: -10000px;" name="notes[4][good][<?php echo $staffPositiveCount;?>][tag]" id="notes_4_good_<?php echo $staffPositiveCount;?>_tag" data-divhighlight="notes-4-good-<?php echo $staffPositiveCount;?>-tag">
<!-- /hidden input -->
<!-- token container -->
<div id="notes4good<?php echo $staffPositiveCount;?>tag" style="display: inline;">
<!-- tokens -->
<!-- /tokens -->
</div>
<!-- /token container -->
<!-- typing input -->
<input id="notes-4-good-<?php echo $staffPositiveCount;?>-tag" type="text" class="token-input autocomplete" placeholder="Tag a staff member here..." id="tokenfield-tokenfield" style="width:100%;display: inline;" autocomplete="off" data-target="staffSearch" data-tagcontainer="notes4good<?php echo $staffPositiveCount;?>tag" data-input="notes_4_good_<?php echo $staffPositiveCount;?>_tag" data-cleartext="notes-4-good-<?php echo $staffPositiveCount;?>-tag">
<!-- /typing input -->
</div>
<textarea class="form-control validate-me" name="notes[4][good][<?php echo $staffPositiveCount;?>][answer]" id="textArea" placeholder="Let us know about your interaction with the staff member here..."></textarea>
<!-- /entire element -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment