This topic is locked

Changing the background of required fields

12/2/2022 9:45:43 PM
PHPRunner Tips and Tricks
admin

The same advice applies to PHPRunner, ASPRunner.NET and ASPRunnerPro.

Proceed to Style Editor -> Custom CSS and paste the following code there:

.bs-inlinerequired input, .bs-inlinerequired select {
background: #ffbbbb !important;
}

And this is how it is going to look in the generated application:

img alt

fhumanes 12/3/2022

Thank you,

I am not an expert in CSS, but how little I learn, always, I am surprised at its power, functionality and simplicity.

Cheers,
fernando

S
Steve Seymour 12/4/2022

Yes, Thank you. I don't think I'd have found that.

You can expand that to dropdown lists by adding...

.bs-inlinerequired input {
background: #ffbbbb !important;
}

.bs-inlinerequired select {
background: #ffbbbb !important;
}

admin 12/4/2022

Thank you Steve, I forgot about dropdown boxes. I will modify the code.