• 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: Disable directory save button

Disable directory save button 10 years 7 months ago #28967

Is there a way to disable the save button in the directory frontend edit view until a dropdown has a specific value?
The administrator has disabled public write access.

Disable directory save button 10 years 7 months ago #28974

  • silviup
  • silviup's Avatar
  • OFFLINE
  • Moderator
  • Posts: 309
  • Thank you received: 49
There is a solution for this. You could perform a template override for the following file:

/components/com_rsform/views/directory/tmpl/edit.php

and add some Javascript in the copied file (further explanations in the article linked below) that will verify if a certain value is selected in a field and only display the 'Apply' and 'Save and Close' buttons based on that verification.

The process of creating template overrides explained:

docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core

The downside to this is the fact that the Javascript code will be added to all of your submissions editing pages, including for other forms' directories.
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.

Disable directory save button 10 years 7 months ago #28992

Thanks
Last Edit: 10 years 7 months ago by phonroth701.
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!