Jump to content
Server Maintenance This Week. ×

How can I execute a script from a web browser?


This topic is 8733 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Can someone please tell me how to execute a script from the internet? I am trying to publish a database on the internet but when a user clicks submit on a web browser, I need a script to run. Is there some sort of Java script that I need? I am "cgi stupid" and would be grateful for any help that I can get. Thanks!

Link to comment
Share on other sites

This is copy from CDML Reference db

Perform Script -Script

What it does

Specifies the FileMaker Pro script that should be performed after the finding and sorting of records (if any) during processing of the action.

Value is

Name of the script to perform.

Syntax example(s)

Perform a script using a link

<a href="FMPro?-DB=db.fp3&-Format=rslt.htm&-Script=Omit+Script&-FindAll">"Run script"</a>

Perform a script using a form action

<form action="FMPro" method="post">

<input type="hidden" name="-DB" value="names.fp3">

<input type="hidden" name="-Format" value="results.htm">

<input type="hidden" name="-Script" value="Omit Script">

<input type="submit" name="-FindAll" value="Run Script">

</form>

Other tags that are required

-DB, any action tag

See also

-Script.PreFind, -Script.PreSort

Link to comment
Share on other sites

This topic is 8733 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.