all the placeholder texts to disappear if the form is edited in any way to be saved
Hi all,
I am developing a form, and I used JavaScript to add placeholder text.
I made it so the placeholder txt doesn’t print.
My concern now is that people will just save the placeholder txt (even tho grey-ed out) as their own when they are filling it out digitally for digital signature.
The grey text only disappears when the text field is clicked on.
How can I make it so all placeholder texts disappear if the form is being saved even tho not all text fields have been edited?
I can't attach the form because it will be an official form, but I used the below placeholder text:
var message = "My text."
if (event.value == '') {
event.target.display = display.noPrint
event.value = message
} else {
event.terge.display = display.visible
}
I also used javascript in Actions to change colour
if (event.target.value==event.target.defaultValue) {
event.target.value = "";
event.target.textColor = color.black;
}
What do I need to add to make all the placeholder texts disappear if the form is edited in any way to be saved?
Thank you
