July 25, 200025 yr I have seen that FileMaker does not pack the CDML Reference folder in FMP 5.0+. Dang unfortunate for those who are just getting involved. I got lucky and am using 4.0v3. <p><form action="FMPro" method="post"> <input type="hidden" name="-db" value="The_Tracker.fp3"> <!--leave no spaces in your db name, and FMP 5.0 may require ... .fp5--> <input type="hidden" name="-lay" value="layout name"> <!--if only 1 layout this is not necessary--> <input type="hidden" name="-script" value="Tape Number"> <!--names the script--> <input type="hidden" name="-format" value="success.htm"> <!--successful action--> <input type="hidden" name="-error" value="error.htm"> <!--not required if no errors will occur--> <input type="submit" name="-action" value="button name"></form></p> <!--describes the action to be taken and put a name on the button--> Basically, when one desires to perform a -script, the form action or link requires the -script tag, the -db tag, and any -action tag, the rest is optional to meet your needs Peace Keith M. Davie
July 25, 200025 yr I need a script to run on the browser. CDML's "-script" tag is supposed to do the trick, but I don't know how to make it work. I've also tried to make a link activate the script but can't get that to work either. I'm using FMP 5.0 and HomePage. The script(in the database) generates a number when attached to a button. The script is called "Tape Number" and the db is called "The Tracker" Any help is greatly appreciated. Rock on, Smoothdra
August 17, 200025 yr Can a calculation field generate the number instead? That way the value can be entered using an autoenter (or a hidden field in a web form) and you can avoid the use of scripts completely.
August 30, 200025 yr I have just re-read your original post. You state that you "need a script to run on the browser." The -Script CDML tag will make a script perform itself on the *server* but you cannot make a script run itself on the browser. scripts on run within the FileMaker Pro program itself, not in web browsers. Forgive me if I am barking up the wrong tree...
Create an account or sign in to comment