When I use the inline validation to display error, it is displaying the error in black color instead of red!!
Inline Validation Error
3 years ago
3 years ago
#1
3 years ago
#2
Hello,
This is a custom validation, did you add it to validation_helper.php?
How is this displayed in the view?
Here is the code that makes the error message red.
You can see towards the bottom the color is set.
Post your view code if you need more help.
Dan
This is a custom validation, did you add it to validation_helper.php?
How is this displayed in the view?
Here is the code that makes the error message red.
You can see towards the bottom the color is set.
Post your view code if you need more help.
Dan
3 years ago
#3
Thank you for your reply. However, even when I am using regular validation, the errors are displayed in black text instead of red.
3 years ago
#4
Then we need more info.Right click the Browser and Inspect what the class and css is showing for the error display.
3 years ago
#5
Hello. I just realised my silly mistake. trongate CSS file was not loaded and hence the error was not displaying in red!!
Thank you for your support.
Thank you for your support.
3 years ago
#6
chiragpatel22285 could you please close this thread and award Dan the points for his effort to solve this for you?
When someone goes out of their way to help, it is always polite to thank them and reward them, even though you managed to solve the error yourself.
Glad you got 1 out of 2 here.
When someone goes out of their way to help, it is always polite to thank them and reward them, even though you managed to solve the error yourself.
Glad you got 1 out of 2 here.