This sample code counts the number of characters in a text field (without counting the spaces), and sets the character count inside a number field when saving the record.
This sample code counts the number of characters in a text field (without counting the spaces), and sets the character count inside a number field when saving the record.