Hi,
Need help resolving why our user macro that uses JavaScript jQuery code to add an event listener to an input field that no longer works.
what we want it to do,
Event Listener: wait for changes to an input field with the name variableValues.replaceme.
Logging: When the value of this input field changes, it logs the new value to the console.
Updating Title: retrieve the current value of an input field named title within a form named filltemplateform.
Modifying Title: It updates the title input field by appending the new value from the variableValues.replaceme input field to the existing title, separated by a hyphen.
In essence, this script dynamically appends the title of a form based on the changes made to the input field. What do we do to enable this macro again?
I'm guessing this macro has not worked since https://jira.atlassian.com/browse/CONFSERVER-82741.
I have tried the workarounds below, but, they did not work: adding the system property to tomcat java options,
-Dmacro.required.velocity.context.keys=generalUtil,bootstrap,action
-Dmacro.required.velocity.context.keys=comma,seperated,key,values
Macro Body Processing: No macro body
Having trouble posting the template script, so screen pic attached.