I have dropdown field which contain Location names. The requirement that came to me recently is Location Names need to be modified ,deleted and add new.
Adding new location names is not a problem
But deletion or changing the field names is effecting already existing documents:
What is the effecct:
When I try to save the existing document its asking to enter the value for location field(because the exisiting name is no longer there as its modified to new one or deleted).
Here is the java script code for validation:
function CheckKeyword(fieldname, fieldtitle)
{
if(fieldname.selectedIndex==0)
{
alert("Field '" + fieldtitle + "' is required. Please select a value.");
//fieldname.select();
fieldname.focus();
return true;
}
else
{
return false;
}
}
What can I do in order to delete the location names or changing the location names?