Я пытаюсь создать форму Web для Case для Salesforce и создавать настраиваемые поля полей. Я добавил код в голову моего html, и он не работает. Форма также не будет отправлена.Salesforce web to case required Поля
<html>
<head>
<script language="JavaScript" type="text/javascript">
function checkform (form)
{
var name = document.getElementById('00NC0000005KA85').value;
if (form.name.value == "") {
alert("Please enter your full name.");form.name.focus();
return false ;
}
return true ;
}
</script>
</head>
<body>
<form action="https://www.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8" method="POST" onsubmit="return checkform(this);">