I know I can delete all the data from local storage on a web page's input fields with:

function clearData()
{ "use strict";
localStorage.clear();
}

But how do I remove data from a specific form or a specific field? This is a specific field in a form:

document.form2["aboutSetupOne"].value = "";

This code does not erase the field called 'aboutSetupOne' in form2:

function clearData()
{ "use strict";
localStorage.removeItem("document.form2['aboutSetupOne']");
}

This code does not erase the form data:

function clearData()
{ "use strict";
localStorage.removeItem("form2"); // also doesn't work: "document.form2"
}

Do you know the right syntax to use to selectively erase one forms' data from local storage?

Thanks