• 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: Custom form field validation

Custom form field validation 10 years 2 months ago #30490

  • comyoo
  • comyoo's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
On rsjoomla.com there is documentation for adding custom validation. (here)

However, this involves editing the rsform pro core files. That also means that with every update we will have to edit validation.php again.

Is there a way to load custom validations as an extension? Maybe in the form of a plugin?
The administrator has disabled public write access.

Custom form field validation 10 years 2 months ago #30491

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

Instead of directly modifying the validation.php file, you can consider using the $invalid method and perform your validations within the "Scripts Called on Form Process" area (this way after an update changes are kept).
This is not official customer support. To receive your support, submit a support ticket 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!