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

adding a button to run a script from page


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

Recommended Posts

  

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>



Link to comment
Share on other sites

Oh my, here we go again... Do not rely on scripts result on web driven solution.

For instance the above: Omit Script may omit some records, but the result will be visible and usable until someone runs his/hers script with totally different result. That may happen in split second after the first script runs.

Better will be to perform find records from web which will omit/hide unwanted records.

Link to comment
Share on other sites

this was straight out of CDML.fp5.......

I am a sheep and above are shepards YonoComprendo!

who will you follow ...LOL stay away from the script but if u must the code will work for about as long as Anatoli said (learned the hard way)

laugh.gif

Link to comment
Share on other sites

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