Web Form - Computed Field

Hi Ma’am/Sir,
I’m just wondering from inside the ERP system computation was working. But from public Web Form it did not work.

Hope someone can help me. Thanks.

Below is my sample script from web form. Beta Test is the name of Child Table Name

frappe.web_form.on(“Beta Test”, {
p_column1: function(frm,cdt,cdn) {
var d = locals[cdt][cdn];
frappe.model.set_value(cdt, cdn, ‘p_column3’, (d.p_column1 + d.p_column2));
}
});