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.

Individually boxed digits in one field

Featured Replies

I have a field for an insurance number that contain up to eleven digits, but may be less.

I would like create 11 little boxes in the data entry layout so that the person entering data can see that they have entered the correct amount of digits.

Something like this, except 11 boxes:

(sorry my drawing will not "cut and paste")

(for now lets assume I do not want to use the “define database” field validation options)

Also each time a digit is entered the cursor moves to the next box.

I have tried using the drawing tools and the field control setup but I cannot seem to achieve a neat result.

Any ideas please?

Wouldn't a repeating field with borders between repetitions save the day ?

  • Author

Hi

Thanks but that only seems to repeat the same numbers in all the fields

I suggest to use a combination of a normal input field and a calculated repeating one.

INPUT is a text field

SHOW is a calculated repeating field with 11 reps and calc:

Middle ( Extend ( INPUT ) ; Get ( CalculationRepetitionNumber ) ; 1 )

... but you'll still need a validation for max 11 chars or you have to change the calc to:

Case(

Length ( Extend ( INPUT ) ) ≤ 11 ; Middle ( Extend ( INPUT ) ; Get ( CalculationRepetitionNumber ) ; 1 )

)

so the field SHOW remains empty if the user inserts more than 11 chars.

You could try using a web viewer with this:




  



  



  



  



  



  



  



  



  



  



  

And then?

What I had in mind was:

1. Cool web viewer idea

2. ...

3. Profit!

Hmmmm... Fusion Reactor plugin?

11 fields would be kind of annoying... why not just use an autoenter coloring the text red if its length is wrong.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.