This topic is locked
[SOLVED]

 EDIT PAGE SAVE / BACK TO LIST DOES NOT WORK

3/26/2014 5:06:53 AM
PHPRunner General questions
C
chrispa author

HI ,

i need your help earliest possibly .
i use following on before display of edit page
$xt->assign("NewExpireDate_fieldblock",(($values["frequency"]=="")));
when value of frequency is null then NewExpireDate is available on edit page and can save record etc. ( THAT IS FINE!)
when value of frequency is not null NewExpireDate is hidden on edit page as it should BUT buttons on Edit page does not work , buttons like SAVE , BACK TO LIST , RESET !!! I mean i click and nothing happens !!
pls help
thanks in advance
Chris

Sergey Kornilov admin 3/27/2014

I would suggest to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.

C
chrispa author 3/28/2014



I would suggest to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.


with the valuable help of admin i have the required result so finally i have to add on Javascript onload event

var ctrl = Runner.getControl(pageid, 'frequency');

if (ctrl.getValue()!='')

$("tr[data-fieldname='NewExpireDate']").hide();


and now all working !!
thanks a lot