Hi,
We have the following javascript to auto populate portion of an html fields based on the drop down choice. It works great, but when the form is submitted the spots where the value should be inserted no longer have the data from the drop down.
//Autofill League Name
$(document).ready(function () {
$('#Field1').change(function(){
$('.selectedname').text($('#Field1 option:selected').val());
});
});
//Autofill Year
$(document).ready(function () {
$('#Field3').change(function(){
$('.selectedyear').text($('#Field3 option:selected').val());
});
});
Thanks!