Inhaltsverzeichnis Smarty Smarty Funktionen {input} Text

Text

Erstellt ein einfaches Text-Eingabefeld.

Attribut  Typ  Erforderlich  Beschreibung 
onchange  string  Nein JavaScript, welches beim Ändern des Feldes augerufen wird.

Vorschau

 text

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="text" name="input_text" title="Geben Sie etwas ein" short="Text oder/und Zahl"}
  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>