Welcome to Catalog Tips

Search more than 200 articles to learn more about creating and automating your product catalogs

Tip: Start typing in the input box for immediate search results.

< All Topics
Print

HTMLCOLUMNCOUNT – Calculate columns in HTML table

Overview

This Custom Field returns the maximum number of columns in an HTML table, or ‘0’ if one does not exist.

Syntax

HTMLCOLUMNCOUNT(FIELDSTR(DataTable))

Element Description
FIELDSTR(DataTable) The HTML table of which the columns are to be counted.

Example

HTMLCOLUMNCOUNT(FIELDSTR(AccessoriesTable))

See also

HTMLCLEAN

HTMLENTITYDECODE

HTMLROWCOUNT

 

Table of Contents