• 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: PHP Script for (de)activating the send-button

PHP Script for (de)activating the send-button 11 years 1 week ago #27382

  • peter52
  • peter52's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 65
  • Thank you received: 3
Hi !

I am not a coder but need urgently a script to use it with rsform pro

In my form user can make reservations for an event.
usually they select a date and in a dropdown field a seating category

Now I need to avoid reservations for one category on upcoming saturday.

Can somebody provide a PHP script which I can use?

Something like:

If date = saturdaysdate and category = category1
then ...


if this combinations is selected form may just deactivate the send button or, if possible, display a message "Please select another date"

Thank You for Your help !
The administrator has disabled public write access.

PHP Script for (de)activating the send-button 11 years 1 week ago #27388

  • peter52
  • peter52's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 65
  • Thank you received: 3
No coder here?
The administrator has disabled public write access.

PHP Script for (de)activating the send-button 11 years 1 week ago #27398

  • sdsi
  • sdsi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
Hi - If I understand what you are trying to do, PHP is not the coding you need. PHP is server-side, which means it executes on the server and the results are sent to the browser. You would *probably* need JavaScript, JQuery or AJAX to monitor what is happening on the current page in the browser.
The administrator has disabled public write access.

PHP Script for (de)activating the send-button 11 years 1 week ago #27405

  • peter52
  • peter52's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 65
  • Thank you received: 3
Ok, but whats the javascript code then?
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!