Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

adding a button to run a script from page

Featured Replies

I was wondering if anyone knew how to right html or cdml that would allow me to add a button i made that runs the script? Or just something that lets me run the script from the web page. If anyone could help me it would be much appreciated.

  

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>



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.

Re: Oh my, here we go again...

Where is Keith?

Garry

smile.gif

Didn't see him quite long time. I hope he is well, life and kicking smile.gif

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

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.