Expand my Community achievements bar.

SOLVED

Can we achieve this cosmotic red from a JavaScript?

Avatar

Level 4

Hello

If I set a field as REQUIRED (pic. 1) I will get a bold thick red border aroud my field (pic. 2), well.

Setting a field as REQUIRED - Pic. 1

REQ.jpg

Getting below red bold thick border Pic. - 2

Bold Red.jpg

Pls. suggest us can we achieve the same effect / cosmotic effect with a JavaScript, if so, pls. help me by giving the JS code snippet

We want just cosmotic effect (no need of data validations), meaning, just a  thick red bold border around the just field (not including caption), pls. let us know the JS to get this

Thank you

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi, to be able to set the text fields like so you should use the three line below:

Hope this helps!

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Hi, to be able to set the text fields like so you should use the three line below:

Hope this helps!

Avatar

Level 4

Gr8. Thank you, it worked perfect, awesome

Thank you again

But, I don't see any option to close this question by marking ANSWERED and assigning points, not sure how to do that

Regards

Avatar

Level 4

Hello,

We are a multi national private company, located in Washington DC, we are looking for a expert LC developer with excellent JS expertise, its 3 months project, pls. reply ASAP if you are available, interviews will be immediate (no remote work pls.)

Thank you