top of page

Moji5 Knowledgebase

Enable/Disable and Hide/Show Form Button

Function to enable/disable and hide/show form button.


1) How to Enable/Disable Form Button


Create a new behavior. Put the appropriate caption. Click Action wizard.


Click Create an action.


Click Enable/Disable and Hide/Show Form Button.


Fill button name. Select Enabled = No to disable the form button. Select Yes for enable the form button. Click OK.


Click Save changes.


Click View code. Leave it as it is. Check syntax, if no error then click Save and close.


Click Create now.


How it look in the form:

You can't click on Save button because now it's disable.


2) How to Hide/Show Form Button


Create a new behavior. Put the appropriate caption. Click Action wizard.


Click Create an action.


Click Enable/Disable and Hide/Show Form Button.


Fill button name. Select Visible = No to hide the form button. Select Yes to show the form button. Click OK.


Click Save changes.


Click View code. Leave it as it is. Check syntax, if no error then click Save and close.


Click Create now.


How it look in the form:


Before:

After:





Commenti


bottom of page