This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, depends should have "required,mask" for the mask rule to be called. The declaration you have is only for "required" rule. Even though you have defined mask rule, you haven't connected your field to the rule. depend attribute does that, so you need to specify "mask" in the depends attribute.
Welcome to JavaRanch. We don't have many rules here, but we do have a naming policy which we try to strictly enforce. Please re-read this document and edit your display name in order to comply. Your display name appears to fall into the "obviously fictitious" category and seems to be a play on respected author and JavaRanch staffer Kathy Sierra. Thanks in advance, and we look forward to seeing you around the Ranch.