<label for="pollQuestion">{lang}wcf.poll.question{/lang}</label>
</dt>
<dd>
- <input type="text" name="pollQuestion" id="pollQuestion" value="{$pollQuestion}" class="long" />
+ <input type="text" name="pollQuestion" id="pollQuestion" value="{$pollQuestion}" class="long" maxlength="255" />
</dd>
<dt>
<label>{lang}wcf.poll.options{/lang}</label>
$('<span class="icon icon16 icon-remove jsTooltip jsDeleteOption pointer" title="' + WCF.Language.get('wcf.poll.button.removeOption') + '" />').click($.proxy(this._removeOption, this)).appendTo($buttonContainer);
// insert input field
- var $input = $('<input type="text" value="' + optionValue + '" />').css({ width: this._inputSize + "px" }).keydown($.proxy(this._keyDown, this)).appendTo($listItem);
+ var $input = $('<input type="text" value="' + optionValue + '" maxlength="255" />').css({ width: this._inputSize + "px" }).keydown($.proxy(this._keyDown, this)).appendTo($listItem);
if (insertAfter !== null) {
$input.focus();