I have a public edit form for twelve step meetings that contains sensitive information that I don't want to show on the front end, but the fields still need to be editable. (see screenshot) The fields are two sets of 3: Main Contact and Second Contact
Internal Contact Name
Internal Contact Email
Internal Contact Phone
When someone new takes over a meeting, they need to be able to give us their new internal contact, but the fields cannot have the previous contact info showing, since that information is internal and not for public viewing.
I want to clear all 6 fields on load and include a placeholder that says "Field Cleared, please enter new information"
I have tried adding value='' to the fields, but that does not work. I have to add a space, as in value=' '. This results in the space preventing the placeholder from displaying.
I have tried every JS code I can find in the Content Template and the Post Form, such as this one, with the ID 'clear' in each field I want to clear. None of them do anything.
window.onload = function(){
document.getElementById("clear").value = "";
}
How can I do this?