In every field in M5 have their own javascript control id.
How to Get Javascript Control ID
Create a new behavior. Put the appropriate caption. Click Action wizard.

Click Create an action.

Click Other Scribe Functions.

Select Get JS Control ID in Other Scribe Functions dropdown. Click OK.

Click Save changes.

Click View code. Change field name accordingly.

Put below code to display a message. Click Check Syntax, if no error then click Save and close.

Click Create now.

How it look in the form:

Bình luận