-
ragubihiroフォームの中で、今日の日付と、誕生日から年齢を何歳何ヶ月と表示させたい。
AIに尋ねるとできると返答があるが、指示された関数がどこにあるのかわからない。
また、&などの文字も文字列として認識さえれ計算してくれない。
どのように設定をすれば、年齢を表示させられるか教えて欲しい
-
Adrian Besilla Jotform SupportHi 高橋宏和,
Thanks for reaching out to Jotform Support. Our Japanese Support agents are busy helping other Jotform users right now, so I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Japanese, let us know and we can have them do that. But, it might take a while until they're available again.
Now, coming back to your question, you can set up your form to automatically calculate Age. Let me show you how:
1. Open your form in Form Builder and click on Add Element on the upper-left side of the page.
2. Under the Basic tab, click on the Date Picker element twice.
3. Click on the first Date Picker field, and click on the Gear icon to open Date Properties.
4. In the menu on the right side of the page, click on the Options tab, then click on Current under Default Date.
5. Click on the second Date Picker field, and then click on the Gear icon to open Date Properties.
6. In the menu on the right side of the page, click on the Options tab, then click on Current under Default Date.
7. Then, click on the Advanced tab, and toggle the Hide field to the On position.
Next, you'll need to add a Form Calculation widget:1. In Form Builder and click on Add Element on the upper-left side of the page.
2. Click on the Widgets tab, click on the Form Calculation widget to add it to your form.
3. Then, set the formula like you see below and click on Save.

Give it a try and let us know if you have any other questions.
-
ragubihiroお世話になっております。
年齢と、月齢を表示させたいのですが、可能でしょうか。
また、例えば、5歳4か月のような表示の仕方をしたいと考えています。
-
Kris Ann Jotform SupportHi 高橋宏和,
To meet your requirements, you will need to add multiple Form Calculation widgets. We will use seconds to calculate the year and months. Given that you already added the two Date Picker fields by following the steps shared by my colleague, now we will set the Form Calculation widgets. Let me show how to set that up:
1. In Form Builder, click on the Add Element button, then go to Widgets tab.
2. Add 5 Form Calculation widgets to your form.
3. Label the Form Calculation widgets the same as below:
4. Click on the Form Calculation widgets one by one.5. Then click on the Wand icon, to add a field click on the Add Field button.
6. To add a Function, click on the Purple button.
7. Make sure to click the Save button after to save the formulas.
8. Set the recommend formulas for each Form Calculation widgets:Epoch Diff:
Month:
Age Years:
Age Months:
Age:
Check out the screencast below to see my results:You can hide the other fields that you don't want to show. You can test and check my form here, and you can also clone it.
Let us know if there’s anything else we can help you with.

4. Click on the Form Calculation widgets one by one.
Month:
Age Years:
Age Months:
Check out the screencast below to see my results: