Hello,
I have a form which I would like to populate a checkbox based on a lookup value. If the field with CSS Class OnetoOne populates with the word True, I would like the checkbox field Field205 to check the first checkbox in the field. This is the script I'm using, but it's not checking the checkbox. Any suggestions?
$(function() {
$(document).ready(function () {
var value = $('.OnetoOne input').val();
switch (value){
case "True":
document.getElementById('Field205-0').checked = true;
break;
default:
alert('value');
}
});
});