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.

Featured Replies

I have a pretty simple php page that creates a new record in a table using the GET parameters in the URL to populate the field values as such:

$request = $fm->newAddCommand('WebReplies');

$request->setField('to', $_GET['to']);

$request->setField('from', $_GET['from']);

$request->setField('msg', $_GET['msg']);

$request->setField('userfield', $_GET['userfield']);

$request->setField('date', $_GET['date']);

$result = $request->execute();

This works well - one of the fields that is being set is then used as a match field in a relationship, and there are a number of auto enter calculation fields in the same table that are set to auto enter the related value from the matching record. This works fine when created using FileMaker Pro when when it's created using the PHP API the auto enter calc fields are blank.

I gather auto enter calc fields aren't triggered via the PHP API in the same way when created using FileMaker Pro? The relationship exists as I have other related fields on the same layout which display once the record has been created, it's just the local auto enter calc fields that don't fire.

Anyone been here before and know of an easy fix to get the auto enter calc fields to evalulate once the record has been created?

Many thanks,

Steve

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.