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

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

Recommended Posts

  • Newbies
Posted

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

  • Newbies
Posted (edited)

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
Posted

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.

Posted

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

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