Forum Discussion
KenFirch
8 years agoQrew Trainee
Just a little more info on this. Field #26 is the checkbox, and #17 is a text field to hold the signature. Here's a piece of the code:
// Project Manager Signature
$("#_fid_26").change(function() {
if($("#_fid_26").is(":checked")) {
$("#_fid_17").val("Signature Text");
}else{
$("#_fid_17").val("");
}
});
As long as the signature field (#17) is not set to read only, it works fine. When set to read-only it doesn't work.
// Project Manager Signature
$("#_fid_26").change(function() {
if($("#_fid_26").is(":checked")) {
$("#_fid_17").val("Signature Text");
}else{
$("#_fid_17").val("");
}
});
As long as the signature field (#17) is not set to read only, it works fine. When set to read-only it doesn't work.