Adding emojis to form fields

An example of work is a multiline field on the stand.

To be able to insert emoticons, you need to add the as-smile class to the input or textarea element.

In the form for the field, we can specify an additional class in getItem in SELECT 1: 

-- SELECT 1 in GetItem
select '' f1, 'as-smile' class_f1 
from t1

The data is stored in unicode. 

The button for calling emoticons has the emoji-btn class, the container with emoticons itself is emoji-cont.

You can move the smiley display button via CSS. 

.emoji-btn {
    position: absolute;
    right: 46px;
    z-index:4;
}

Smiley settings in as.systemOptions.js: 

  1. smile.enableCommentSmile - if true, the emoticons will work in the Comments. By default false.
  2. smile.enableChatSmile - if true, the emoticons will work in Chats.  By default falsee.
  3. smile.button - a smiley face that displays on the smiley display button. By default '😄'
  4. smile.fontSize - the size of the emoticons. By default '20px'
  5. smile.items - array of available emoticons. By default: 
['😀', '😁', '😂', '😃', '😄', '😅', '😆', '😇', '😈',
                '😉', '😊', '😋', '😌', '😍', '😎', '😏', '😐', '😑',
                '😒', '😓', '😔', '😕', '😖', '😗', '😘', '😙', '😚',
                '😛', '😜', '😝', '😞', '😟', '😠', '😡', '😢', '😣',
                '😤', '😥', '😦', '😧', '😨', '😩', '😪', '😫', '😬',
                '😭', '😮', '😯', '😰', '😱', '😲', '😳', '😴', '😵',
                '😶', '😷', '😸', '😹', '😺', '😻', '😼', '😽', '😾', '😿',
                '🙀', '💩', '☠', '👌', '👍', '👎', '🙈', '🙉', '🙊']



Falcon Space is a functional web development platform on a narrow stack MS SQL/Bootstrap. Falcon Space Gettting started
{sp-shortDemostandLinks}

SQL-tool for creating personal accounts on the site

The essence of the approach and the history of the creation of Falcon Space
Web platform for creating personal accounts

Falcon Space Platform

This is a reduction in the cost of ownership

at the expense of fewer people to support

This is a quick change

while using the program

This is a modern interface

full adaptation for mobile devices

MS SQL web applications. Affiliate program for developers and web studios

You can develop on your own or collaborate with us on Falcon Space web development using only SQL and HTML.
See examples with SQL code
Platform documentation
Working on MS SQL Server
Note