Add new comment

Hi Elie,

If something was going haywire with the JavaScript I would usually see it in debug mode. Did you put the code in a HTML region on your page?

To test the Dynamic Action you can create a Text Box item on your page, then here is some JavaScript that will populate it:

var ajaxReq = new htmldb_Get(null, $v('pFlowId'),
            'APPLICATION_PROCESS=GetRandom', $v('pFlowStepId'));

var gReturn = ajaxReq.get();

document.getElementById('P30_TEXT').value = gReturn;

If this works then you will at least know your Dynamic Action is working OK.

Other than that see if you can get any text out of your HTML region by using some print statements.