You are viewing limited content. For full access, please sign in.

Question

Question

change wording on autofill button in Forms 11

asked on August 5, 2024 Show version history

I was able to change the wording on the autofill button in the classic forms designer with some js.  I'd like to change it in the new forms designer.  Anyone done that yet?

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on August 5, 2024

The autofill button is tied to the last field set in the lookup rule. Knowing that you can target all or just one of the autofill buttons and use the CSS below to change the text:

Add the custom-auto-fill class to the fields containing the autofill button.

.custom-auto-fill .auto-fill-btn-container > button {
    position: fixed;
    top: 12px;
    right: 19px;
  	visibility: hidden;
}
  
.custom-auto-fill .auto-fill-btn-container > button:after {
  	content: "Custom Text";
        visibility: visible;
        border: solid;
        padding: 6px 16px;
        background: var( --orange);
 	color: white;
}

 

0 0
replied on August 5, 2024

This lead me to the answer, thank you.  Here is what I ended up with so it kept the button in the same location:

.auto-fill-btn-container > button {
   
      visibility: hidden;
}
  
 .auto-fill-btn-container > button:after {
      content: 'Custom Text';
        visibility: visible;
        border: solid;
        padding: 6px 16px;
        background: var( --orange);
     color: white;
}

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.