Re: How to make Javascript works in a form!?
extremely simple case:
Method javascript -> name “metmet”, add code:
var r = 'help';
return r;
Javascript -> onchange of a field X:
var t = metmet();
alert("1: "+t);
When running the form, and changing the value in field X, I get an alert showing the text “1: help”;
It’s not as complex as your case, but maybe it’s a start.