i have a grid add form which gets first and last name and a grid which shows full name
i have a hidden field asrt_speakerfullname_0 on the form and a function
$(document).on("tpc:pre-submit", function (event, form, formData, sender) {
tpc.page.asrt_speakerfullname_0.set_value(tpc.page.asrt_firstname.get_value()+" "+tpc.page.asrt_lastname.get_value());
});
when I try to read the value of asrt_speakerfullname_0 in the grid the full name is coming as null. what am I doing wrong?