I am working on a form and I am trying to change the text of the "Auto Fill" button that currently reads "Auto Fill" which is very non-descriptive since I have 5 of those buttons.
A little backstory: My code used to work and then all of a sudden one day it didn't. It creates an error where the user can only see the "Submit" button and the title of the form, but as soon as I comment out the below code, the form works again but then I have those non-descriptive buttons again.
Is something wrong with my code? Example of how I am trying to rename the code:
document.getElementById("lookup1573").innerHTML = "Fill Section";
On button inspection, I see something a little odd:
<button id="lookup1573" class="autofill" type="button vo="d">Auto fill</button>
Upon further inspection is seems like the element doesn't even exist in DOM... Other forms that have the button renamed work fine. I have also tried copying the form and repairing it that way but it persistently doesn't work. My other option is recreating the form from scratch, which I don't really look forward to.
Any help would be much appreciated!