The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

Conditional logic from date field possible?

Labels

This Discussion is public

Notifications

I would create a form with personal data.

There is a birth date field and a fileupload. the file upload should be required (and visible) only if the person is underage.
But I'm not able to select the birth date field in the conditional logic field selection.

Is that a bug, or isn't it possible to handle conditional logics based on date fields?

Is there a workaround to handle this case?

You can do this with jQuery. Initially hide the upload field on the form, attach an on('change') to the date field, in the related function, calculate the age and if it matches your condition, show() the upload field.

Discussion closed.