LoginSignup
1
1

More than 5 years have passed since last update.

[baserCMS]メールフォームの和暦日付の範囲指定の仕方

Posted at

baserCMSのメールフォームでは、フィールドに「和暦日付」を使うことができます。
その範囲指定についてのTips。

想定している対象者

  • baserCMSでウェブサイトを制作をしている方

できること

  1. 和暦日付を使う際に、現在の年まで指定できる
  2. 和暦日付を使う際に、開始年を指定できる

環境

  • baserCMS 3.1.0-dev 以下

指定の仕方

メールフィールド設定のオプション欄を利用して設定します。
設定項目と設定値を半角パイプ「|」で区切って入力。

minYear|開始年西暦|maxYear|終了年西暦

選択リストに表示される終了年を現在にする

minYear|開始年西暦|maxYear|today

サンプル

minYear|1976|maxYear|today

参考記事

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1