• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Conditional field on age

Conditional field on age 10 years 4 months ago #29860

Hi,

in my form, the age of the subject is asked using a calender.
Knowing the date of birth, how can I calculate the age, and use this as a conditional further down the form.
Let's say if Age > 10 then show next formitem

thanks,

James
The administrator has disabled public write access.

Conditional field on age 10 years 4 months ago #29871

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
An example on how to calculate the difference between dates can be found here:

https://www.rsjoomla.com/support/documentation/view-article/918-how-to-calculate-the-difference-in-days-between-two-calendar-dates.html

Please note that this example must be adapted for your scenario
> one of the calendar must grab the current date
> the result must be used in the conditional field

More information on conditional fields can be found here:
http://www.rsjoomla.com/support/documentation/view-article/749-conditional-fields.html
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!