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

As per mentioned in topic ,I would create script help me to make" - " between number for Emirates ID include 15 like ...

783-1986-1234567-9

Thanks alot for any help....

The question is not quite clear. If i am guessing correctly, you want to make the field auto-enter calculated value (replacing existing value) =

Let ( 
digits = Filter ( Self ; "0123456789" ) 
;
Replace ( Replace ( Replace ( digits ; 15 ; 0 ; "-" ) ; 8 ; 0 ; "-" ) ; 4 ; 0 ;  "-"  ) 
)

This would allow you to enter the ID as digits only or already formatted and have the auto-entry re/format it to the pattern you show.

The field itself should be of type Text, of course.

 

  • Author

thanks a lot for reply yes this is what I need but if I need more professional in case visitor put more than 15 number or missing number should give him show dialog or error

If it's important to have exactly 15 digits, then you should validate the field using a calculation =

Length ( Filter ( Self ; "0123456789" ) ) = 15

In addition, you can use a script trigger to check the field before it is validated; this allows you to provide a nicer user experience compared to the built-in validation error message.

 

  • Author

now is working perfect :

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.