![]() |
Sergey Kornilov admin 11/11/2013 |
You are trying to call Javascript function from PHP code which doesn't make much sense. |
C
|
ccadivel author 11/12/2013 |
I am collecting some input from a dummy page and process them (myfunc()) before passing the result ($p) to the list page which displays the data from a table using the parameters as filter. |
![]() |
Sergey Kornilov admin 11/12/2013 |
Do all processing in PHP code. As far as I understand your dummy page is Add page. Use BeforeAdd event in this case to perform all processing. |
C
|
ccadivel author 11/12/2013 |
isn't it possible to do part of the processing in the client side, in add page for example. I add <script type="text/javascript" src="include/myfunc.js"></script> in Add page after {END body} but how can I call my function when click on save button then redirect to my list page ? |
C
|
cgphp 11/13/2013 |
Check this manual page http://xlinesoft.com/phprunner/docs/how_to_ask_for_confirmation_before_saving_record.htm this.on('beforeSave', function(formObj, fieldControlsArr, pageObj){ |
C
|
ccadivel author 11/13/2013 |
Hello, |