-
pvhwooAsked on June 26, 2024 at 1:34 AM
-
Jessica JotForm SupportReplied on June 26, 2024 at 1:49 AM
Hi Philip,
It's not possible to show a persistent error message, the error message will only appear when the fields are not entered and remain until the fields are filled. If you need to add a persistent message, you can consider adding Paragraph element.
In the meantime, if you are referring to the following styling, then it's possible:
Adding the following code to your form will help you customize error message, but please note that it'll customize all the error message in the form:
/* Customize error message styling - Ticket #16270951 */
.form-line-error .form-error-message {
background-color: transparent !important;
color: red !important;
font-weight: 800 !important;
font-size: 13px !important;
background-image: none !important;
position: relative !important;
left: -20px !important;
}
/* Ends here */
If you need to customize only one field, we can also check this possibility, but you'll need to provide us the form URL you are working on and the exact field name.
Adding the code above to your form is easy, let me show you how:
- In Form Builder, click on Paint Roller icon on the top-right.
- Click on Style tab.
- Scroll below and add your CSS code in Inject Custom CSS.
- Click on Save and you are good to go.
Let us know if you need more help in this.