"Quickening the Pace of JSP Development" Friday, March 12, 2010
Home Products Pricing Company Contact Us Samples Download Forums Javadoc Customers
    « Form Tags »
    « I/O Tags »
    « Format Tags »
    « Utility Tags »
Custom Mask Tag Example

The <dotj:custommask> tag is a new tag that we will expand with every release. Currently it supports a special mask character ('X'), that can be used to fill in a value from an input string. It does this by iterating across the input string and the mask from right to left and substituting a character from the input string when it comes across the mask character 'X'.

Example Mask Input Result
Example 1 XXX-XX-XXXX 375936385 375-93-6385
Example 2 $XXX.XX 5636 $56.36
Example 3 XXX.XXX 8398 8.398



          Back to Samples page


home : products : pricing : company : contact us : samples : download : forums : customers

Copyright © 2000-2004 dotJ Software Inc. All rights reserved.