Support > Repository > Check the input > Allowable character type
ja | en

You can check if it consists only of characters specified by allowable character types. For example, you can make settings such as input errors except for katakana and blanks.

I chose full-width kana and space as a character type (allowable character type) that can be entered in the "customer kana" item.

Figure 1 Full-width kana and space can be entered

If you enter non-allowable character types (eg hiragana), you will get an error.

Figure 2 Input error
Checking of allowable character types is not done in real time.After the save button is pressed, it is checked on the server side.

Detailed definition of model item In "input check", set "○" to allowable character type.
Even if at least one of them is set to "O", input errors will occur for other character types.

Fig. 3 Allowable character type setting

In the numerical type item, "half-width double-byte character (allowable negative number)" is "◯" automatically.
"Date type (yyyy - MM - d, yyyy - MM format or Japanese calendar format)" becomes "O" in the date type item.

E-mail address ("@" is not required)

It checks whether the input value contains character string of mail address format.I decide that '@' is not necessary.

Date type

It checks whether it is a date expressed in one of the following formats.Where yyyy is the year (4 digits), MM is the month (2 digits), dd is the day (2 digits) respectively.

  • yyyy/MM/dd
  • yyyy-MM-dd
  • yyyy.MM.dd
  • yyyyMMdd
  • yyyy/MM
  • yyyy-MM
  • yyyy.MM
  • yyyyMM
  • Yyyy year MM month dd day
  • Yyyy year MM month
  • Yyyy year
  • yyyy

Date type (yyyy-MM-dd)

It checks whether it is a date expressed in one of the following formats.Where yyyy is the year (4 digits), MM is the month (2 digits), dd is the day (2 digits) respectively.

  • yyyy-MM-dd
  • yyyy/MM/dd
  • yyyyMMdd

Date type (yyyy-MM)

It checks whether it is a date expressed in one of the following formats.Where yyyy is the year (4 digits), MM is the month (2 digits), dd is the day (2 digits) respectively.

  • yyyy-MM
  • yyyy/MM
  • yyyyMM

Numeric - Hankaku double-byte character (negative number allowed)

It checks whether the input value is a number of one-byte character or double-byte character.Even if the minus sign is included before the number, it is accepted as a numerical value.

Numerals - Half size characters (negative numbers are not allowed)

It checks whether the input value is a number of one-byte character.We treat the minus sign as not included before the number.

Numeric - double-byte character (negative numbers are not allowed)

It checks whether the input value is a number of double-byte characters.We treat the minus sign as not included before the number.

Alphabet - Hankaku double-byte character (including upper case letters and lower case letters)

It checks whether the alphabet (including upper case letters and lower case letters) of half-width double-byte characters is included in the input value.

Alphabet - Halfwidth characters (including upper case letters and lower case letters)

It checks whether the alphabet (including upper case letters and lower case letters) of the half width characters is included in the input value.

Alphabet - Half size characters (uppercase letters only)

It checks whether the alphabet (uppercase letters only) of half-width characters is included in the input value.

Alphabet - Halfwidth characters (lowercase letters only)

It checks whether the alphabet of the half-width character (lower case letters only) is included in the input value.

Alphabet - Full-width characters (including upper case letters and lower case letters)

It checks whether the alphabet of the double-byte character (including upper case and lower case letters) is included in the input value.

Alphabet - Full-width characters (uppercase letters only)

It checks whether the input value contains double-byte alphabets (uppercase letters only).

Alphabet - Full-width characters (lowercase letters only)

It checks whether the input value contains double-byte alphabet (lower case only).

Hiragana

It checks whether Hiragana is included in the input value.

Katakana - half-width double-byte character

It checks whether the full-width or half-width katakana is included in the input value.

Katakana - half-width characters

It checks whether the input value contains half-width katakana.

Katakana - Double-byte character

It checks whether the full-width katakana is included in the input value.

Symbol - half-width double-byte character

It checks whether the input value contains full-width or half-width symbols.Here, "symbol" means the following characters.

! " # $ % & \ ( ) ^
~ [ ] . { } ; : + * ?
_ / -

Symbol - half-width character

It checks whether the input value contains a one-byte character symbol.

Symbol - double-byte character

It checks whether the input value contains a double-byte character symbol.

space

It checks whether the full-width or half-width space is included in the input value.

A warning is displayed, but Figure 4 shows an example that pressing the save button here will not disturb the registration itself.

Figure 4 Displaying warnings

Definition method

In the allowable character type setting, set "Warning" instead of "○".

Figure 5 Specifying the maximum number of characters
When setting multiple allowable character types, "○" and "warning" can not be mixed.Please unify to either.
Warning designation does not work on the list update screen (including parent child model simultaneous update screen).

You can specify the minimum number of characters required for allowable character types.

Figure 6 Minimum character limit error

Definition method

In the detailed definition of the model item, set the numerical value to "Check input - Character count". If not specified, there is no limit on the number of characters.

Figure 7 Specifying the minimum number of characters required simultaneously

When an allowable character type is specified, the "string (minimum)" filter is automatically applied.
Depending on the business specifications, it may be better to change filters manually.

  • This check is performed on the server side at the timing of pressing the button such as "Save".It is not a real time check.
  • The input item that caused an error has a background of red.The text input section or the date/time list box is the target.

The repository key is model/modelitem/chart type = XXX.