I am already aware that the input fields should be transferred to read-only in order to show up on submit per this post: https://answers.laserfiche.com/questions/122818/CSS-not-saving-to-laserfiche
The question is where do I insert the code to make my inputs read-only?
if ($('[name=IsLocked]').val() == 'True')
Here is some of my code, on Purpose selection (change), account is being populated with a certain value:
//Sub Account is filled out based on Purpose selection
$(".purpose select").change(function(){
var purpose = $(".purpose select").val();
if (purpose == "Adjunct Pay") {
$(".account input").val("123");
}
else if (purpose == "Cross Training") {
$(".account input").val("1234");
}
else if (purpose == "Curriculum Development") {
$(".account input").val("234");
}
else if (purpose == "Full-time Faculty Overload") {
$(".account input").val("321");
}
else if (purpose == "Change to regular salary/wage rate") {
$(".subaccdisp input").hide();
}
});