Inhaltsverzeichnis Smarty Smarty Funktionen {input} Checkbox

Checkbox

Eine Checkbox ausgeben.

Attribut  Typ  Erforderlich  Beschreibung 
onchange  string  Nein Javascript, welches beim Ändern der Checkbox ausgeführt werden soll.

Vorschau

 box

Beispiel

QuelltextSmarty Code:
  1. <form name="extra">
  2. <div align="center">
  3. <table class="table">
  4.     <tr>
  5.         <td class="cell">
  6.             {input version=5 type="checkbox" name="test_checkbox" title="Checkbox" short="wenn gewünscht bitte aktivieren"}
  7.             <br />
  8.         </td>
  9.     </tr>
  10. </table>
  11. </div>
  12. </form>
  13. <script language="javascript">
  14. {literal}
  15. function do_load()
  16. {
  17. }

  18. function do_unload()
  19. {
  20.     window.parent.unload_extra();
  21. }
  22. {/literal}
  23. </script>