Dear all,
how is possible to show/hide a component (eg a button or header) when the record count of a table is equals to N ?
Regards
Hi touretteroma,
This is possible but not straight forward in the current version (a planned update should make it simpler), but you can do it by following the steps below:
- Disable the "Deactivate permissions" setting under the form general settings.
- Process the record count using a PHP action and return a value true/false.
- In your button settings under "Permissions", use {var:php_name} to control if the button should be displayed or not.
Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?