• 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: Errors on hidden required fields

Errors on hidden required fields 8 years 9 months ago #35529

  • nixxxx
  • nixxxx's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I have a form with a lot of fields and dificult conditioning coded in JS (fields are displayed depends on database and selections).
And when i hide required field like that:
document.querySelector('.rsform-block-'+child).style.display = "none";
it still generate validation requirement error.
I try to code custom validation in JS, but RSForm validation rewrite my classes.

How can I dynamically hide field to force validation skip it or change requirement flag throught JS?
The administrator has disabled public write access.

Errors on hidden required fields 4 years 11 months ago #40143

  • pscharfg
  • pscharfg's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
Hi Nixxxx,
Did you ever figure this out? I have the same need?
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!