Keith M. Davie Posted July 25, 2000 Posted July 25, 2000 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
smoothdra Posted July 25, 2000 Posted July 25, 2000 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
Vaughan Posted August 17, 2000 Posted August 17, 2000 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.
Vaughan Posted August 30, 2000 Posted August 30, 2000 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...
Recommended Posts
This topic is 8919 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