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

Hello, I have a question. Is there any way to either have a field validated by a script, or else to have the normal validation trigger a script if the field is invalid?

Here's the situation:

My users enter a phone number into a field, it is then validated to make sure the dashes are in the right place, and the area code exists in a seperate DB of valid area codes. Now, if the dashes aren't there, it should tell them to reformat the number, and not let them have the data they entered. If the Area code is not recognized, it should give them a choice, to reenter it, to add the area code to the dictionary or override the problem.

Thoughts?

Simplest way is to split the number into three fields -- area code, prefix and ... well, I don't know what they call the last four numbers. The area code field can validate against the list, and the other two fields can validate against a range.

  • Author

But that still doesn't solve part of the problem. If the area code is found invalid, they basically need a dialog with three buttons, and a script to process those three choices. If A - Revert Field, If B - Allow Value, If C - Create new record in table of valid area codes with a value equal to area code. TYhanks for that much though...

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.