Reply To: HTML Table not showing when using Side-by-side

Forums Dynamic Forms for SharePoint HTML Table not showing when using Side-by-side Reply To: HTML Table not showing when using Side-by-side

#35572
Duncan Martin
Participant

I found it was because the style isn’t being removed for the HTML field, as in the attachment.

I got around it by removing the style via jQuery in the Custom JS, but I’m sure there’s a better way

function removeStyle(){
var sbsTable = document.getElementById(“sbs_Field_dffsHTML_charity_test2_1”);
var sbsTable1 = document.getElementById(“sbs_Field_dffsHTML_charity_test_1”);
var sbsTable2 = document.getElementById(“sbs_Field_dffsHTML_charity_test3_1”);
jQuery(sbsTable1).removeAttr(“style”);
jQuery(sbsTable2).removeAttr(“style”);
jQuery(sbsTable).removeAttr(“style”);
}