| BodyInclude | include body to set background color dynamically |
| Comment | Tango comments, not seen by the user |
| Copyright | InfoMatters Copyrights |
| CRLF | make local variable for carriage return/line feeds (esp. for redirects) |
| DeleteConfirmation | javascript "are you sure" alert if click a form delete button |
| DomainVarShow | a quickly debug routine to show a domain's variables (see Var Inspector for a muc more robust routine) |
| DynamicPopup | quick shell for creating a popup based on distinct dbase values |
| EBank Header | use in EBank demos to make new app look/feel like rest of the application |
| Email Webmaster | uses standard file path with module system for site by site custom config |
| Empty Array | test to see if an array is empty in an IF |
| FileAction Omit LFs | if comparing values from read files, need to nuke line feeds |
| FilePath to FileName | convert a file path (from an uploaded file) and get it's name |
| Format Currency | quick format using server delimiters |
| FormatCurrency 0decimals | hard coded currency format, no cents (note: no decimal point either) |
| FormatCurrency 2decimals | hard coded currencty format to two decimal places |
| GoBack | a variety of ways to give a "go back" button for forms. Note: we really never use these anymore. Instead, we take the user to the form, put a message at its top, and fill in their previous entries (from arrays) |
| | BrowserCased |
| | Javascript |
| | Plain |
| | Referrer |
| | TAFform |
| | TAFsearch | |
| HowManyInput | form HTML for standard "HowMany" input (see StdLibs for range checking routine) |
| Include File | path, sans @CGI,for included html files |
| MissingFieldsRED1validate | single HTML for forms validation (vs. 2 separate pages) making validated fields red while retaining the previously entered information. |
| MissingFieldsRED2form | routine for the form itself to make invalid form elements red |
| NoCacheExpire | html meta tag to ensure a page isn't cached in a browser (replaces "pragma-no-cache" |
| NoTimeout | make custom scoped variables persistent |
| OSFilePath | always use this for file and external actions to keep portable (see StdLibs for auto-setting routines) |
| Page Header | with Tango 3, we often branch/redirect among various modules. These snippets allow us to have a consistent mechanism to give users' status messages. For instance, in one web application, a project management system, a user entering a subproject might login, then jump to add a contact, come back with all their form information intact, jump to edit a designer, come back, etc. Throughout all this jumping around, the user receives relevant messages at the top of each page. |
| | Assign & Title Msg |
| | DocType |
| | Title |
| | pageHdrMsg |
| | Body |
| | ExamplePageHdr |
| Prefix Popup | standard forms input popup for person's prefix (Mr., Ms., etc.) |
| Redirect1 httpHdr | go to another page/TAF the "right" way |
| Redirect2 MetaRefresh | go to another page/TAF. warning: this can effectively "breaks" the user's back button since the refresh will throw them forward. Better way is to change the http header to a 302 code. |
| ServerName | the current site's DNS name |
| SiteName | multi-hosted site identifier |
| States Popup | standard forms input popup for US States |
| StdFTR | @include for a standard footer |
| Submit Confirmation | javascript alert upon forms submission |
| Timeout | set variables to not expire |
| UserNameOrIP | the current user's DNS name or IP address |
| UserRef&Site; | the site id plus user reference |
| UserReference | user reference to correctly key user globals |
| Validation | javascript and Tango form field validations (thanks to Mark Wickens for some of these) |
| | Complete Validation Suite |
| | EmailValidation |
| | JavaScript |
| | MaskCreditCardField | |
| | MaskIntlPhone | |
| | MaskIntlPhoneField | |
| | ValidatePhoneNums.tct | |
| | zForm Field Validation | |
| | | ValidateBlank | |
| | | ValidateBlankNot | |
| | | ValidateCreditCard | |
| | | ValidateFloat | |
| | | ValidateFloatGreater | |
| | | ValidateFloatLess | |
| | | ValidateInteger | |
| | | ValidateIntegerGreater | |
| | | ValidateIntegerLess | |
| | | ValidateIntlDate | |
| | | ValidateLengthEqual | |
| | | ValidateLengthGreater | |
| | | ValidateLengthLess | |
| | | ValidateNumBetween | |
| | | ValidateDate | |
| VAR with Prefixes | assign an array, setting it's prefixes and suffixes |