Plugin Mode

Converting from the Western calendar to the Japanese calendar.

Summary

Convert a text or date field to the Japanese era format and set it into another field. You can choose whether this runs when you change a field value, when you save, or both. You can also enable a button on the list screen for bulk conversion.

Smartphone support

This plugin supports smartphones.

How to use

Choose the field containing the Gregorian year and the fields for the Japanese era and year. Configure when conversion runs and whether bulk conversion is available from a list.

When it runs

Depending on the settings, this customization runs at the following times. Any configured conditions are also evaluated.

  • When you edit and change a target field value
  • Immediately before saving a record
  • When you open a record list page
  • When you click a button added by this plugin

Click the button added by this customization to run the operation.

The page-display and field-change triggers exclude inline editing from the pencil icon on the list page.

Parameters

Enter or select a value for each setting unless it is marked optional.

Conversion timing

Please choose whether to perform the conversion during editing or during saving.

Available options:

  • When Editing
  • When Saving

Initial value: When Editing

Batch conversion function

Please choose whether or not to enable the batch conversion function. Enabling the batch conversion function will add a button to the list screen to perform the batch conversion.

Available options:

  • Batch conversion function available
  • Batch conversion function not available

Initial value: Batch conversion function available

Year field (Gregorian calendar year)

Choose the field containing the Gregorian value to convert.

The following field types can be selected.

  • Text
  • Date
  • Date and time
  • Created datetime
  • Updated datetime

Japanese Era Name Field

Choose the field for the Japanese era name.

The following field types can be selected.

  • Text

Japanese calendar year field

Choose the field for the year within the Japanese era.

The following field types can be selected.

  • Text
  • Number

Notes

During editing or saving, an empty source clears the result fields. Bulk processing applies to records currently displayed on the list page whose source value is filled in. Click the button and confirm to save the results and reload the page.

The following actions and conditions are useful when building similar behavior in customization mode.

Actions

Conditions