top of page

Moji5 Knowledgebase

Set Custom Rowclick Javascript & Set Rowclick Additional Tags

Updated: Aug 23, 2021

1) Set Custom Rowclick Javascript

This function will allow you to set custom Javascript code. Custom code is when u click the row record what action need to take at javascript. In order to this function work, hence it will disable you to go to subtable.



How to set custom rowclick Javascript


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


Click Create an action.


Click Other Scribe Functions.


Select Set Custom Rowclick Javascript in Other Scribe Functions dropdown. Click OK.


Click Save changes.


Click View code. Define your custom code and change table name accordingly. Click Check Syntax, if no error then click Save and close.


Click Create now.

Example how it look in the form:

Before:

When click on the row, it will go to product list detail.

After

When click on the row, it will disable product list detail.


2) Set Rowclick Additional Tags

This function will allow you to add more parameter to pass when click the row.


How to Set Rowclick Additional Tags


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


Click Create an action.


Click Other Scribe Functions.


Select Set Rowclick Additional Tags in Other Scribe Functions dropdown. Click OK.


Click Save changes.


Click View code. Define your tags and change table name accordingly. Click Check Syntax, if no error then click Save and close.


Click Create now.


How it look in the form:

When click on the row, it will go to product list detail.

URL: http://appsmoji.com/M5/FillForm.aspx?ID=fab27957-90c4-48da-a718-e3b882b264aa&a=c5325548-05d5-4c81-90d0-1b5f30f4ca0f&ListID=ac1c7d9a-3963-4419-94da-aab79692a6b3&New=1&ParentRec=73bcc890-88a9-4c9b-b7ac-277dbcb1fd0c


After

When click on the row, it will go to product list detail with additional paramater on URL.

URL: http://appsmoji.com/M5/FillForm.aspx?ID=fab27957-90c4-48da-a718-e3b882b264aa&a=c5325548-05d5-4c81-90d0-1b5f30f4ca0f&ListID=ac1c7d9a-3963-4419-94da-aab79692a6b3&New=1&ParentRec=73bcc890-88a9-4c9b-b7ac-277dbcb1fd0c&Field1=123&Field2=456




Comments


bottom of page