Reply to thread

When giving a custom warning, it would be nice if the input field for the conversation title was pre-filled with the custom warning title.


This can be accomplished with a template change (please forgive me for using on* attributes :eek:) but I think this would make sense as a (nicely coded :)) default behaviour. At least if the conversation title input field is still empty.


[CODE=html]

<xf:textbox name="custom_title" maxlength="{{ max_length($warning, 'title') }}" onchange="document.querySelector('input[name=&quot;conversation_title&quot;]').value = this.value;" />

[/CODE]


Back
Top Bottom