Hello again! I'm currently using an HTML span tag to dynamically populate someone's name into a paragraph. I have a CSS class titled "PatientName" assigned to a "Full Name" field which is concatenating the First and Last names of the individual, and then I'm using the HTML on an HTML field "My minor child, <span class="xPatientName"></span>, has applied for employment..." in combination with the following JavaScript to dynamically populate that employee's full name into a paragraph of text.
$(document).on("change", ".PatientName", function() {$(".xPatientName").text($(".PatientName input").val()).change();});
The issue I'm having, however, is that while the form is displayed and being actively filled out, everything works perfectly, however when the resulting document is saved to our repository or emailed out to anyone as part of the process, "My minor child, First Last, has applied for employment..." turns into "My minor child, , has applied for employment..."
Is there something I'm missing? Any way to perform this differently so that the concatenated HTML paragraph includes their name, no matter where in the process it's viewed from? Any help would be appreciated!