Restrict Tab Panel Access by AccountName?

Discussion created by lkeyes on Feb 13, 2013
Latest reply on May 26, 2013 by cortical

Hi....trying to do something that I thought would be a doddle.


I have a contact form with two tab panels.

The top panel contains name and address information.

The second tab panel contains confidential information, like the user's SSN and salary.


I'd like to be able to restrict access to the second tab panel depending on the AccountName.

It looks to me that the script triggers don't act until the second panel is already "active"....which means it is "too late"


The ideal might be that the second tab is inaccessible, so that you can't even click on it if you don't have the correct AccountName.


Any ideas how this should be handled?




--- L