No edit summary
Line 1: Line 1:
===Name===
message
===Type===
input
===Synopsis===
Send a notification to another user
===Description===
This is a FlexForm specific field type. It is not default HTML5.


With this field type you can send notifications to other registered users.
===Parameters===
type="message"
user="<username>"
message="<the message that will show up in the notification>"
message-title="<notification title>"  - this is optional
message-type="<either "danger", "warning", "info", "success">"  - defaults to danger
===Example===
<syntaxhighlight lang="html">
  <input type="message" user="wiki user" message="test message" message-title="Admin message" message-type="info" />
</syntaxhighlight>

Revision as of 21:34, 30 November 2023

Name

message

Type

input

Synopsis

Send a notification to another user

Description

This is a FlexForm specific field type. It is not default HTML5.

With this field type you can send notifications to other registered users.

Parameters

type="message"

user="<username>"

message="<the message that will show up in the notification>"

message-title="<notification title>" - this is optional

message-type="<either "danger", "warning", "info", "success">" - defaults to danger

Example

  <input type="message" user="wiki user" message="test message" message-title="Admin message" message-type="info" />