How do you properly show/hide form sections in Power Pages?
I tried using a business rule and that didn't work.
I tried using Javascript based on a yes/no field called remote. Here is my form:

Here is my Javascript:
$(document).ready(function () {
$("#cr92a_remote").change(function () { FieldChanged(); });
});
FieldChanged = function(){
var selectedValue = $("#cr92a_remote").find("input[type='radio']:checked").val();
if(selectedValue == true){
$("table[data-name='sec_shipping']").parent().show(); /// and .hide();
}
else{
$("table[data-name='sec_shipping']").parent().hide(); /// and .hide();
}
};
My section name is sec_shipping on the form designer.