Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
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 ) 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="conversation_title"]').value = this.value;" />[/CODE]
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 ) 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="conversation_title"]').value = this.value;" />
[/CODE]
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences