October 1, 200520 yr 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
October 1, 200520 yr 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 October 2, 200520 yr by Guest
October 2, 200520 yr 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.
October 2, 200520 yr 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