Jump 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.

Very simple form tips

Featured Replies

  • Newbies

Hi everybody. I have just been asked to help out my Dad (who knows a lot about Filemaker, but nothing about web/other development) by making a webpage which will have a form to enter user data before downloading a piece of trial software. All the form needs to do is send the data (name, email etc.) to FMPro, and make a new record in my database with said information.

I will set up the page on Apache, and put the web companion on another port on the same server.

I am thinking that I will create a layout with a copy of all the user data fields as global fields, then I will use a script to create a new record, copying all of the global fields data into the new record.

How do I get the form to send the GET data into FMPro? (In other words, how do I construct the FMPro query - is there a reference page for these queries somewhere?)

Then, once I have sent the query, how do I set what comes back? As in what will the browser do after I have clicked the submit button? For now, the browser simply needs to be redirected to a HTML page.

Thanks for your time and assistance

  • Author
  • Newbies

In essence, I can't seem to find a reference for the CGI format that FMPro Developer 6 uses.... it's probably in an obvious place, but I can't find it.

Anyone got a pointer here?

Edited by Guest

If you turn on Instant Web Publishing, and look at the pages it generates, you can get a good idea. You need to change the reference from "/FMRes/FMPJS?" to "/FMPro?". I found this out by refering to old FM4 documentation.

You may find with the "Dev" version of FM6 a manual for Custom Web Publishing (CWP). This will show you how to submit GET and POST requests to the WebCompanion.

Anything you can find on CDML will be helpful. (CDML is the set of mark-up tags for CWP.)

Good Luck.

Garry

Create an account or sign in to comment

Important Information

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

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.