1
0
-1

I made a form to show 3 different Chart :

  • Chart for showing all province & all district
  • Chart for showing province level
  • Chart for showing district level

CUSTOM HTML contains script (i.e.  District section) :

<script>
$(document).ready( function(){
$("#submit").click( function(){
var month = $('select[name="month"]').val();
var year= $('select[name="year"]').val();
var prov =$('select[name="prov"]').val();
var district=$('select[name="district"]').val();
var reportUrl = "apb_tarif_tertinggi_prov_kabkot?month="+month+"&year="+year+"&prov="+prov+"&district="+district;
window.location = reportUrl;
return false;
});
});
</script>


In each Section, Visibility Control Rules is applied.

But why this form is only showing the latest Section (District) and cannot show All or Province Chart ?


Thank you Expert




    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi, try to check the browser console. Perhaps there are JavaScript errors that are stopping the other sections from showing.

        CommentAdd your comment...