Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

i want filemaker to perform a script everytime that a new record is created. the records will be created via the web. any suggestions or insight? thanks a million,

tim.

Posted

Just add the -script CDML tag to the form or URL to call the script.

I'll leave it to others to warn of the hazards of running scripts througgh Web Companion. wink.gif" border="0

Posted

okay. i'm ready for the warnings. also, could you give me a simple example of using this -script tag? thanks a million,

tim.

Posted

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.fp5&-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.fp5">

<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

This topic is 8564 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.