Hey folks, I've recently finished and uploaded a first edition of a character sheet for the Dragon Warriors game system. It works fine as-is, but there were some improvements I wanted to make, but found I found I couldn't implement myself with my limited coding skills.

I have used the 'tabs' button layout for multiple pages, which is fantastic. However, I wanted the 'Magic' tab to appear differently depending on which Profession the character was (the systems of magic work quite differently for a Sorcerer than a Mystic for example). Can somebody help me out and explain how I need to modify my code to be able to do it? The full code for reference is up on GitHub.