• 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: validate required fields button, NOT a submit

validate required fields button, NOT a submit 11 years 1 month ago #26984

  • info892
  • info892's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I want to validate the required fields with a button, NOT a submit button, as I am first running an onclick calc function, before the user can accept and proceed with a submit.

I have a very long list of fields and calculations and want to provide the user with the Total of calculations first, before they decide to proceed and submit.

Thank you for your time and help!
The administrator has disabled public write access.

validate required fields button, NOT a submit 11 years 1 month ago #26985

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

You can consider using the "PageBreak" element to split your form in two pages. The second page can have the submit button along with the field you are using to show this total and with whatever fields you might desire.

Besides splitting the form, the Pagebreak allows you to validated before proceeding to the next page and, in your case, you could also add your onclick function via the "Additional Attributes" area. The following article provides more information on this topic:

www.rsjoomla.com/support/documentation/v...e/840-pagebreak.html
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!