Make all characters lowercase?

convert all captured form data to lowercase.

Overview

The data is stored with mixed or uppercase characters.
Use a PHP action to process the field values, applying a lowercase conversion function. Then reference the processed data using the appropriate variable placeholder.

Answered
ChronoForms v8
19 1982eguzman860 27 Oct, 2025

Does anyone know how to convert all the data captured in ‘data:’ so that all the characters are lowercase? Help πŸ™

Max_admin Max_admin 27 Oct, 2025
Answer

use a PHP action:

return mb_strtolower($this->data("fieldname"), 'UTF-8')

Then you can use {var:php_action_name}

You may also convert multiple values and return an array.

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply