Вопрос

It is set by default that when I create input fields and set them to be required, when users don't fill in anything, they got a massage:

Please fill out this field

I am creating a website with Joomla, and this tooltip pops out in every browser displaying the above text. How to change the text.

I tried to look up in Joomla language ini files, but no success. Is there some easy way to change this, or some advice where it could be?

Это было полезно?

Решение

This is not a Joomla string, it's the message displayed by the HTML5 required attribute. To change the message you have to check the loads of suggestions in the following questions:

Другие советы

if you are writing your own component (or module/plugin), it sounds like this is the description - field in the form-xml for your component. If the form is auto-generated from a component-creator, the file should be found in /(administrator/)components/com_yourcomponent/models/forms

but some more info on where/what you are doing would help.

regards Jonas

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top