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

Hi there,

I'm creating a "Submit" button that runs a script to

validate a number of fields on a layout (rather than

validating every single field one at a time) and then

tells the user what needs to be fixed.

Based on some suggestions so far, I have created a number

field "Record Acceptable" and "Status Message", a global

text field.

The intention is that for each record, "Record Acceptable"

will be set to 1 for OK and 0 for not. Meanwhile, "Status

Message" will be cleared and then text gradually entered

into it....but only if a field is not validated.

So the end, result...I want a message to pop up...saying...

"There were problems and they are as follows..." etc etc.

Here's what it is so far and I'm not sure why it isn't working.

Also, can I get all this info (if they made lots of mistakes) to

appear in a message or window ?? How :?

Cheers,

Phil

----------------

Set Field [Record Acceptable, Record Acceptable = 1]

Set Field [status Message, Status Message=""]

If [isEmpty(First name)]

Set Field [Record Acceptable, Record Acceptable = 0]

Set Field [status Message, Status Message= Status Message + "The

first name is missing" + "

The Set Field command always OVERWRITES the contents of the field with the new contents. Use the Insert Calculated Result, making sure to uncheck the "Select" option and you should get what you are looking for.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Senior Filemaker Developer

http://www.inthescene.com

mailto:[email protected]

=-=-=-=-=-=-=-=-=-=-=-=-=

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.