CalcBuilder Forum

Modify error message

Usuario Panos512 2015-03-06 11:45:32

Hello,

I would like to modify the error message that is displayed when the user gives more decimals than expected. The current message is "Value must contains only 2 decimals". Can you point me to the .php file that generates the message please.

Thank you.

Moonsoft support 2015-03-06 14:29:52

Hello,
we use the standard joomla language files system. You will find those texts at the JOOMLA\language\en-GB

folder

en-GB.com_calcbuilder.ini
or
en-GB.mod_calcbuilder.ini

depending on if you're publishing the module or the component view. For other messages created dinamically regarding validations, you have more information here

https://www.moonsoft.es/en/help/2-cbsupport/1650-translate-this-field-is-required

Hope this helps, regards

Edited by MSTeam - 06.03.2015 14:30

Usuario Panos512 2015-03-06 14:36:59

Thank you very much it works perfectly now!

...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!
...
CalcBuilder

Create dynamic calculators

Buy now!