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.

Script stating exact no. of characters reqd.

Featured Replies

I have a field in my database into which a bar code number must be typed. The number is always 13 characters long I want to attach a script to the submit button that basically says if there are less than 13 characters or more than 13 characters in this field flash up a message saying "the bar code must be 13 characters long".

I'm sure it's dead easy but I can't seem to fathom out the steps or language I need to use.

Heeelp

Graham

Hi Graham,

This worked for me:

If [" not Length(yourfield)=13"]

Show Message ["The bar code must be 13 characters long"]

Exit Script

End If

Hi Graham,

You don

You can do that using field validation. Check out the options behind the field in Field Definations, and use by calculation Length(Names) = 13 check the box for strick, and type in your message.

HTH

Lee

smile.gif

Thanks you guys, I learned something new too!

Snekkis

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.