Application : Tabs hide/show an TAB-entry by code?

Hello,
is it possible to hide an entry in the tabs application by code ??
Some customers don’t need all Tabs … for them it’s confusing…

I t possible to hide/show fields/blocks in forms … but TAB in the TAB Application ??

Thanks
Uwe Pfeiffer

Hi,

Natively in Scriptcase is not possible. But I think with Javascript, yes it is.

Hi ISS_Pfeiffer, you can use a code like this. I use it on Scriptinit

?>

$(document).ready(function() {

		$("#id_form_tesoreria_ops_form0").click(function (){
			//alert("Page0 - Show Button");
			$("#sc_b_upd_t").show();
		});
			
		$("#id_form_tesoreria_ops_form1").click(function (){
			//alert("Page1 - Hide Button");
			$("#sc_b_upd_t").hide();
		});
		$("#id_form_tesoreria_ops_form2").click(function (){
			//alert("Page2 - Hide Button");
			$("#sc_b_upd_t").hide();
		});
		$("#id_form_tesoreria_ops_form3").click(function (){
			//alert("Page3 - Show Button");
			$("#sc_b_upd_t").show();
		});
		$("#id_form_tesoreria_ops_form4").click(function (){
			//alert("Page5 - Hide Button");
			$("#sc_b_upd_t").hide();
		});
		$("#id_form_tesoreria_ops_form5").click(function (){
			//alert("Page5 - Hide Button");
			$("#sc_b_upd_t").hide();
		});
	});		
</script>
<?php
1 Like

Thanks for your reply. I found another solution. I use vertical menu instead of Tabs. There I can dynamically hide/show a menu entry.

Best regards
Uwe