{options:my_field_name}
<input type="checkbox" name="my_field_name[]" value="{option_value}"
{checked}> {option_name}</br>
{/options:my_field_name}
In the checkbox field’s settings, I have Value/Label pairs selected. It output all of the options correctly but it also added an option for some garbage text I left in the “Populate the menu manually” section - despite it not being selected. Seems that the tag is pulling options from both Checkbox options, even though only one is selected.
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```