I am currently in the process of creating a website using a website builder, and I am interested in customizing the default message that is displayed when a required field in the website form is left empty. The form in question is an integral part of the website builder platform.
Is there a method to modify HTML text without direct access to it?
While I can add code to the <head>
, I am unsure if it will impact existing code.
The specific paragraph I aim to alter is as follows:
<div data-v-3a756488=""><p data-v-3a756488="" class="input__error-message z-body-small"> Esse campo é obrigatório </p></div>
In exploring potential solutions, I have considered utilizing CSS to hide the default text within the HTML and supplementing it with alternative content using the content
property, although I acknowledge this may not be the optimal approach.
Within the constraints of the platform, I have the ability to leverage CSS, HTML, and JavaScript, as these languages are supported within the <head>
and embedded code elements on the site.