Unable to run JavaScript in Bean shell validator in Joget Dx7

Confluence User - 24 Nov, 2022

Validator (Bean Shell Validator)

Configure Bean Shell Validator-- Script


Unable to run JavaScript in Bean shell validator in Joget Dx7. Please help on this issue.


forms

2


25 Nov, 2022
confluenceUser
confluenceUser

Hi,

Beanshell should be filled with Java code (not javascript).

Reference: Bean Shell Programming Guide#UseasFormValidator

25 Nov, 2022
confluenceUser
confluenceUser

Hi, 

You can use Custom HTML form element to run the javascript. See Custom HTML

Front End Validation example of  using javascript in custom HTML

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print