Search and replace the same line of javascript code in over 200 text fields?
I have a custom javascript code in over 200 text fields and I need the same line edited in all of them. Is it possible to do a search and replace instead of manually going in and editing each one?
I'm going to need to change the
color.yellowto another color. (By the way, is it possible to spec hex colors or RGB colors here? I'd actually like to do a beige or tan color. I tried "tan" or "beige" and it didn't work)
// If field is blank, display this text and background color
if (!event.value) {
event.target.fillColor = color.yellow;
event.value = "PROMPT TEXT"
} else {
if (event.value) {
event.target.fillColor = color.transparent;
}
}
