Highlight Google form pluggin required field
-
Hi,
I am trying to Highlight: “This is a required field” on a google form. (I am using Google form plugin)I tried to add in custom CSS:
div.errorbox-bad div.ss-item-required label {
color: red;
}But it doesn’t work.
I managed to find a way around when I had an empty required text by inspecting the element “This is a required field”
Here what I had:
<label id="entry_797821070-error" class="error-message" for="entry_797821070">This field is required.</label>
I just wrote in Custom CSS:
#entry_797821070-error{ color: red; }
No Problem!
Here when it doesn’t work:
If I have a multiple choice question, when I inspect element on “This is a required field”
Here what I have:<label id=”entry.1129847272-error” class=”error-message” for=”entry.1129847272″>This field is required.</label>
Because of the “.” in entry.1129847272-error, The custom CSS doesn’t work.
Any idea how I can solve that?
Thanks.
Bruno (I am new in using wordpress and CSS)
- The topic ‘Highlight Google form pluggin required field’ is closed to new replies.