INTRODUCTION

The module allows you to set an SMS counter below the textarea field in any form.

SMSCounter creates a new form element's property: #smscounter that we can add in any form
and this will show SMS count details below textarea.

The module provides following items that will be shown but you can configure it
through module's settings page.

- Type of Encoding (Encoding)
- Character count (Length)
- Number of packets (Per Message)
- Number of characters left (Remaining)
- Number of character in each packet (Messages)

REQUIREMENTS

This module requires the following items:

* Libraries module (https://www.drupal.org/project/libraries)
* External JS Library - SMS Counter (https://github.com/danxexe/sms-counter)

INSTALLATION

1. Copy the smscounter module to your sites/all/modules directory.
2. At Modules page (admin/modules) enable the module.
3. Download the sms-counter library from https://github.com/danxexe/sms-counter
and put it in the libraries folder and make sure folder name is sms-counter.
4. Configure the module settings at admin/config/user-interface/sms-counter.
5. Check report status for sms-counter's library status.

CONFIGURATION

This feature can be enabled for content type's textarea field by enabling
SMS counter setting from its edit page.

Admin >> Content type >> Manage field section >> Field settings (Textarea)

OR

You can add this feature to your custom form by adding
#smscounter => TRUE property to textarea form element.

Configure display: admin/config/user-interface/sms-counter

Supporting organizations: 

Project information

Releases