Hi,
solved!
I create one example for you and sent it to you in the attached file, please download->unzip->and install it (BF->Configuration->Package Installer->select this xml file->Install Package).
you can find the code in the init script of the FORM, the code is
function ff_QuickForm360144905_init()
{
setInterval('test()', 5000);
} // ff_QuickForm360144905_init
function test(){
var a=Number (ff_getElementByName('a').value);
var b=Number (ff_getElementByName('b').value);
if ( a > b){
var b= ff_getElementByName('b').value=a;
}
}
You can embed this solution in your FORM and see how works, if you get to stuck, please let me know!
Regards,
Mirko