top of page

Moji5 Knowledgebase

Register Startup Script

Updated: Aug 23, 2021

JavaScript is a text-based programming language used both on the client-side and server-side that allows you to make web pages interactive. M5 has function to register javascript.


How to register startup script


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


Click Create an action.


Click Other Scribe Functions.


Select Register Startup (Postback) Script in Other Scribe Functions dropdown. Click OK.


Click Save changes.


Click View code and define your java script. In this example we will trigger alert button saying 'hello'. Click Check Syntax, if no error then click Save and close.


Click Create now.

Example how it look in the form:


Коментарі


bottom of page