INPUTFORM TYPE value to TEXT, Is the MAXLENGTH Attribute value Checked by the Number of Characters or the Number of Bytes? (Doc ID 2278418.1)

Last updated on AUGUST 09, 2017

Applies to:

Oracle WebCenter Sites - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Goal

If specified the INPUTFORM TYPE value to TEXT, Is the MAXLENGTH attribute value checked by the number of characters or the number of bytes?

e.g) Sample Asset Descriptor File.

<?xml version="1.0" ?>
<ASSET NAME="BasicSample" DESCRIPTION="BasicSampleAsset">
<PROPERTIES>
<PROPERTY NAME="title_text" DESCRIPTION="title_text">
<STORAGE TYPE="VARCHAR" LENGTH="510"/>
<INPUTFORM TYPE="TEXT" DESCRIPTION="title_text" WIDTH="180" MAXLENGTH="160" REQUIRED="YES"/>
<SEARCHFORM TYPE="TEXT" DESCRIPTION="title_text"/>
<SEARCHRESULTS INCLUDE="TRUE"/>
</PROPERTY>
</PROPERTIES>
</ASSET>

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms