MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / getFieldName

Function getFieldName

assets/js/formValidate.js:71–73  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

69
70// Get fieldname
71function getFieldName(input) {
72 return input.id.charAt(0).toUpperCase() + input.id.slice(1);
73}
74
75// Event listeners
76form.addEventListener('submit', function(e) {

Callers 2

checkRequiredFunction · 0.85
checkLengthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected