|
This ColdFusion Custom Tag will dynamically create a drop down list for Years. If you ever have had to update dropdown list for expired years you know why this tag is a must have. Typically, this type of drop down lists would be used in a Shopping Cart to select the credit card expiration date. Once installed it will automatically keep your Year Drop Down list current. You will never have to manually delete old years or add new years from the drop down list. The Custom Tag allows you to enter all the necessary parameters to have it work exactly as you wish.
|
For the low price of Ten ($10.00) Dollars,
you cannot afford to be without this Custom Tag.
ORDER NOW
|
< CF_YearDropDown Name="Year" Value="2" Display="4" Count="6" YearSetTo="" >
|
|
|
PARAMETERS: (All Parameters are required)
- Name - This is the name you would use for the form field value. The default value is "Year". The variable passed by "YearDropDown" would be #Form.Year#.
- Value = This is used to determine if you wish the year to be passed as a two digit value (i.e. "10") or as a four digit value (i.e. "2010"). The only acceptable values for this attribute are "2" or "4".
- Display - This is used to determine if you wish the year to be displayed in the drop down list as a two digit value (i.e. "10") or as a four digit value (i.e. "2010"). The only acceptable values for this attribute are "2" or "4".
- Count - This is the number of years that you wish to display in the drop down list. Typically for Credit Card Expirations you will only need "5" as the value. However, this value can be set to as high as you wish. If you have either "Value" or "Display" set to "2", you will only be allowed to enter a value into "Count" that will result in the highest year value to be "2099", to avoid possible Year 2100 problems.
- YearSetTo - This attribute allows you to pass a value for a Year variable coming from a Query.
|
| |
|
Order Now For Only $10.00
|