The following Code Snippet checks whether variable contains a valid GUID (Global Unique Identifer) value and assigns a Boolean value to a variable named isGUID.
Validate Email Addresses – iHTML Code Snippet
This Code Snippet will allow you to validate the format of an email address using Regular Expressions. This snippet check the value of a variable named :email
BUG Workaround: File tags inside iHTML Functions
If you use <iINCLUDE> <iFILE> or other iHTML Tags which call a file from within your Functions, and get the following Errors. Error = Could Not Open File, Error Code : 900
Executing DTS Packages with iHTML
This article covers the use of iHTML to execute Microsoft SQL sever DTS packages.
Using Excel Datasources
This article covers using MS Excel files as datasources and originally was geared towards ASP but applies to other programming languages. This article is also useful if you have problems with the import of Excel data into a database.
WML/HTML Agent Detection and Direction in iHTML
Here’s a snippet of code to help you build a site which serves both HTML and WML content to users. Several types of web clients/agents could potentially access your site, both traditional web browsers and WAP browsers, so it is important to determine the content that should be delivered to each client.
XML Declarations in iHTML Pages
If you are using iHTML to generate XML, here’s a tip to insure that it get’s parsed by “All” XML Parsers. The XML declaration must appear as the first line in an XML document. No other content or white space can precede it. Use of the <!iHTML> tag along on the first line of your iHTML file, produces a line return! This is not good. Some Parsers Overlook the first line rule.. and keep going until they find the XML Declaration. Many parsers throw errors, if they find the XML Declaration on any line other than the first, Not Good at all.
Calculate Dimensional Shipping Weight – iHTML code
The Dimensional weight of your packages is something to consider when building ecommerce applications that calculate shipping costs based on product weight values. This code snippet can help you determine the dimensional weight.