ich bin gerade daran mit dem genialen mForm Addon von Joachim ein Backend zu bauen.
Ich habe mich nun gefragt wie ich den custom html5 input erstellen kann.
beispiele:
<input id="when" name="when" type="date">
<input id="sliderx" name="slider" type="range">
ich bin gerade daran sowas zu erstellen:
input:
Code: Alles auswählen
$mform->addFieldset('Article date and credit');
$mform->addFieldset('Article signature');
$mform->addLinkField(1, array('label' => 'select author'));
$mform->addTextAreaField(4, array('label' => 'Date', 'style' => 'width: 100px')); <-- hier will ich den type=date input
$mform->closeFieldset();
Code: Alles auswählen
printf('<p class="article-byline">by <span class="article-credit">%s</span> / <span class="article-pub-date">%s</span></p>'
, rex_getUrl(REX_LINK[1], rex_clang::getCurrentId())
, REX_VALUE[4]
);
Lg Pascal