4 posts in this topic
By Jason Mundok
I have a website that is displaying FileMaker data using the PHP API. Is there a way for the web site to display the basic text formatting from a FileMaker field? For example, a few words in the comments field are bold in FileMaker and I would like them to also be bold on the website. Thanks for any ideas.
By Dean Suhr
Greetings - I got my start with CWP using FMwebstudio as the front end library to the FileMaker API (Dreamweaver). That library is no longer maintained.
One of very cool things about that library was a dynamic field capability, fmsLiveInputField, where the changes you made in a web page were updated into the database in real time. I used it for event registration where the total attending and fees due automatically updated.
By Jack Wright
Please help me out.
I am trying to create an array from a value list within Filemaker Pro (Using PHP API)
The idea is to create an array of names from a value list I have set up... Then put them into an option tag.
$staff = array(FileMaker Value List)
^^ I know that's incorrect, but it shows what I want to do
Then with that array I want to be able to Create a HTML option list (I know how I would do that) --- I am just really struggling with creating the array...
Here is what I have
$database = "comms__web"; $hostname = "###.###.#.#"; $username = "web"; $password = "################"; $layoutname = "Web"; $valueListName = "MIS"; //CREATE FILEMAKER OBJECT $fm = new FileMaker($database, $hostname, $username, $password); //GET THE LAYOUT AS AN OBJECT. $layoutObject = $fm->getLayout($layoutName); //GET THE VALUE LIST $valueList = $layoutObject->getValueList($valueListName);
However it doesn't actually appear to pick up the list...
Please help me out
By Jack Wright
So I'm pretty new to Filemaker and CWP - I have created a form which people fill out and it stores the data in a filemaker solution. The idea being a script is then run which will notify a user if the form has been submitted.
Now I have the script for that and all the Filemaker side completed, as well as the data entry from the PHP form, but I am really struggling with running a script with a parameter...
It runs the script, but not the parameter attached.
For a bit of context,
Someone fills out the form and it is entered into the database,
a script is then called with the parameter being an ID, the script then checks the ID with the parameter ID and then sends a notification to the user with the details from the record where the IDs match... but it will not pass the ID parameter into the script from the web application.
Here is my script
require_once ('FileMaker.php'); $fm = new FileMaker(); $fm->setProperty('database', 'comms__web'); $fm->setProperty('hostspec', 'http://192.168.X.XXX'); $fm->setProperty('username', 'web'); $fm->setProperty('password', 'XXXXXXXXXXXXXXXX'); $newPerformScript = $fm->newPerformScriptCommand('Web','TestScript','test'); $result = $newPerformScript->execute(); Please help me out here... Been trying to research this issue and nowhere really actually helps.
By Joel Shapiro
We're going to be having our 10th annual(!) CWP User Group on Monday, July 18, from 3:30 to 5:30pm (just before the 6pm opening keynote).
Got something you'd like to share? Please let me know.
Everyone's welcome. Come join us!
: database design
: web development