cms_yesno

We need your assistance to make the documentation accurate, user friendly and understandable. Therefore we welcome any tips or suggestions regarding documentation. Thank you in advance for your contribution.

However, we will not respond to technical support questions submitted using this form. If you are having difficulty with CMSMS and cannot find the solution on this website, please submit your question appropriately on our support forum at: http://forum.cmsmadesimple.org. Please remember to follow the forum rules when posting.

CMS Made Simple™ Partner



   Purpose

This is a simple plugin used in form generation to create a set of options for a <select> representing a yes/no choice.

This plugin will generate translated yes/no options, with the proper selected value..

   Available parameters

  • selected - (optional integer) - either 0 (no) or 1 (yes)

   Example

<select name="{$actionid}opt">{cms_yesno selected=$opt}</select>