-
Robert_JobstSehr geehrte Damen und Herren,
ich hab ein Widget Geburtsdatum als Feld.
Hier soll durch das Geburtsdatum ein weiteres Feld "Erziehungsberechtigter" angezeigt werden, sofern die angemeldete Person unter 18 ist.
Wie kann ich dieses umsetzten?Page URL: https://form.jotform.com/260961204379056 -
Podo: Support SpecialistHi Robert,
Thanks for reaching out to Jotform Support. I'm an AI assistant here to assist you.
Aktuell habe ich in den gespeicherten Antworten nur Hinweise zu allgemeinen Bedingungen und zum Leeren versteckter Felder, aber nichts Spezifisches zur Altersberechnung direkt aus dem Geburtsdatum-Widget. Ich weiß daher aus dem vorhandenen Wissensstand leider nicht genau, wie Sie in Ihrem Formular das Alter aus dem Geburtsdatum-Widget berechnen und damit das Feld „Erziehungsberechtigter“ automatisch ein- oder ausblenden können.
Ich weiß diese Information nicht und unsere Support‑Team wird Ihre Anfrage übernehmen.
Reach out again if you need any other help.
-
Danilo Enterprise SupportHi Robert,
Can you confirm if you want these fields to appear when the age is under 18? If yes, this is possible. The Foicalculates age by subtracting the birth year from the current year and then adjusting based on whether the birthday has already occurred this year.
You just need to add 2 date picker fields for the date of birth and the current date. Then you can use the floor function on the form calculation widget to compute the age. Let's walk through this together.
- In Form Builder, click on the Add Form Element menu on the left side of the page.
- Add two Date Picker fields and set the other one for Date of Birth and Current Date.
Next, add the Form Calculation widget and use the Floor function. Let's walk through this together.
- In Form Builder, click on Add Element + on the top left side.
- On the left panel, click on Widgets and select Form Calculation.
- Click on the wand icon on the left side of the widget, and follow the formula.
- Finally, click on Save.
Then, you can create a show/hide conditional logic if the age is under 18, you should show the field: You can display questions based on selected answers in a few simple steps. Let me show first show you how to add the questions:
- In Form Builder, click on Add Element and drag-drop the fields you want to use as follow-up questions (I used Short Text fields in this example)
- Next, click on the Type a Question text and change it to the question you want to use.
Now, let's set up the conditions:
1. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
2. Next, click on Conditions on the left of the page.
3. Now, click on Show/Hide Field to create your condition (if you already have a condition, first click on Add Condition and then click on Show/Hide Field).
4. Set the conditions like you see below and click on Save:
Reach out again if there’s anything else we can help you with.
Your Reply
Something Went Wrong
An error occurred while generating the AI response. Please try again!