<script>
    function checkVersionInputs() {
        $version = $("#form_apiVersion").val();
        if ($version == 1) {
            //hide some stuff
            $("#form_Force").siblings("label").hide();
            $("#form_Force").hide();
        }

        if ($version == 2) {
            //hide some stuff
            $("#form_Force").siblings("label").show();
            $("#form_Force").show();
        }

    }

    $(document).change(function () {
        checkVersionInputs();
    });

    $(document).ready(function () {
        checkVersionInputs();
    });
</script>
