Peter (duksis3) Posted August 28, 2009 Posted August 28, 2009 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.
Peter (duksis3) Posted August 29, 2009 Author Posted August 29, 2009 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..
Peter (duksis3) Posted August 29, 2009 Author Posted August 29, 2009 For more information and sample download I have wrote some words here: http://www.hierarchy.lv/?p=192
maui Posted December 22, 2009 Posted December 22, 2009 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
Recommended Posts
This topic is 5743 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now