117Alan Posted May 12, 2008 Posted May 12, 2008 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?
fabriceN Posted May 12, 2008 Posted May 12, 2008 Wouldn't a repeating field with borders between repetitions save the day ?
117Alan Posted May 12, 2008 Author Posted May 12, 2008 Hi Thanks but that only seems to repeat the same numbers in all the fields
Raybaudi Posted May 12, 2008 Posted May 12, 2008 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.
Fitch Posted May 13, 2008 Posted May 13, 2008 What I had in mind was: 1. Cool web viewer idea 2. ... 3. Profit! Hmmmm... Fusion Reactor plugin?
Genx Posted May 13, 2008 Posted May 13, 2008 11 fields would be kind of annoying... why not just use an autoenter coloring the text red if its length is wrong.
Recommended Posts
This topic is 6376 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now