Skip 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.

"Not Empty" Validation with FMP5 not working

Featured Replies

Folks

I've just upgraded to FMP 5.0v3 with eb Companion 5.0v6 on a Macintosh G4. I've done a lot of custom web work with FMP4 and am just getting a feel for the differences with the new version. Not many, but one appears to be the way Web Companion 5.0v6 handles field-level validation.

In FMP4, I have a db with a field that has its validation set to "Not Empty." If somebody tries to submit a -New action with that field empty, FMP4 Web Companion will create the new record then check the record's validation: if the validation fails FMP4 Web Companion returns the error HTML file (with error 509) and, if "delete record" privileges are available, web companion deletes the invalid record automatically. (I just confirmed this behaviour by finding serial number gaps.)

Ok, my problem is that I *cannot* get FMP 5.0v3 with Web Companion 5.0v6 to do the same thing. If I set field validation to "not empty" Web Companion creates the record but doesn't give a bugger about the validation: it neither returns the error page nor deletes the record. However, the "unique" validation is working and Web Companion will behave as expected (returns the error page and instantly deletes the newly made record.)

What am I asking for? Well, are you getting the same behaviour or is it just me? Is it a bug or undocumented feature? Is there a fix for it? Hints or suggestions...

Thanks.

Vaughan

  • Author

Well I dunno what happened but the validation is working now. I did a lot of cleaning up on the layout and perhaps the unnecessary fields were confusing it.

You can all stop thinking about it now.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.