• 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 requirement of date fields

Conditional requirement of date fields 14 years 2 months ago #9901

  • bubberz
  • bubberz's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I have a job applicant form, and if a visitor enters a job title, then how can I make some date fields required and visible?

Would I do it once a javascript action like onfocus is rendered?

Thanks!
The administrator has disabled public write access.

Re:Conditional requirement of date fields 14 years 2 months ago #9932

  • andreic
  • andreic's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 733
  • Thank you received: 60
Hello,

You could hide the date fields and only show them when a user fills in the correct job title. You can see an example on showing/hiding fields here:

www.rsjoomla.com/customer-support/docume...-or-hide-fields.html

It would be best to use onkeyup to trigger this function. Just add this line in the "Additional attributes" of the job title field:

onkeyup="displayField();"
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
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!