August 28, 200916 yr Hi, There are several cases when FM script must be triggered from separate button on page layout or to put in action field script trigger. '<?php echo ("window.location="script.php"") ?>' name="another page" value="Script"> (code isn't show correctly due to coding symbols in it) Separate file "script.php" are involved to keep php code for script: /*** <?php $rec = $record->getField('Npk'); $script =& $fm->newPerformScriptCommand($layoutName,'List',$rec); $result = $script->execute(); ?> ***/ Separate file count rise if number of scripts rise. Probably somebody can give better solution -one file for all scripts or something.
August 29, 200916 yr Author Hmmm... forum is about FM PHP isn't it? And question is - how to create a button to trigger FM script. Separate button on page..
August 29, 200916 yr Author For more information and sample download I have wrote some words here: http://www.hierarchy.lv/?p=192
December 22, 200916 yr Peter: I need you to place this script step on our site on a form. I will pay you $20 to do if interested. maui
Create an account or sign in to comment