Newbies Bender Posted October 1, 2005 Newbies Posted October 1, 2005 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 Bender Posted October 1, 2005 Author Newbies Posted October 1, 2005 (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 October 2, 2005 by Guest
Jane in AZ Posted October 2, 2005 Posted October 2, 2005 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.
Garry Claridge Posted October 2, 2005 Posted October 2, 2005 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now