Quiq::Html::Widget::Hidden - Nicht sichtbares und nicht änderbares Formularelement
Quiq::Html::Widget
Ein Hidden-Widget kommuniziert unter einem Namen einen oder mehrere Werte. Das Widget ist für den Anwender unsichtbar und sein Zustand kann von diesem nicht manipuliert werden.
Id.
Name.
Wert bzw. Liste von Werten.
Widget ist unsichtbar. Diese Eigenschaft gilt für Hidden-Widgets immer und ist nicht änderbar.
Generiere Leerstring, wenn Wert Null (undef oder Leerstring) ist.
Das Element wird nicht submittet.
Html::Tag-Objekt instantiieren:
$obj = Quiq::Html::Tag->new;
Keine Information:
$html = Quiq::Html::Widget::Hidden->html($h); --> Leerstring
Wert:
$html = Quiq::Html::Widget::Hidden->html($h, name => 'x', value => 4711, ); --> <input type="hidden" name="x" value="4711" />\n
Liste von Werten:
$html = Quiq::Html::Widget::Hidden->html($h, name => 'x', value => [4711,4712], ); --> <input type="hidden" name="x" value="4711" />\n <input type="hidden" name="x" value="4712" />\n
$e = $class->new(@keyVal);
$html = $e->html($h); $html = $class->html($h,@keyVal);
1.162
Frank Seitz, http://fseitz.de/
Copyright (C) 2019 Frank Seitz
This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Quiq, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Quiq
CPAN shell
perl -MCPAN -e shell install Quiq
For more information on module installation, please visit the detailed CPAN module installation guide.