What are the options in Knack for handling long data-entry forms? For example, in a typical app that I build, there’s a Persons table that will at a minimum have these fields:
Name
Sex
DOB
SSN
Address 1 (home)
Address 2 (work or alt)
Phone info (typically three or four different phone numbers)
Email address (typically two)
Record Status (like Active/Inactive, sometimes different)
Occupation
A basic memo field, sometimes used as a brief description of the person
Photo or photos
Religion (sometimes)
And that’s just for starters. Often it goes on from there so there’s two or three times as many more fields. In some of the platforms I’ve worked with it’s possible to design data-entry forms that have multiple tabs or pages. I can’t quite see how to do that in Knack though. Am I missing something? Or do people just build forms that require a lot of scrolling?
William, you can do multi-part forms as described in other replies or you can get creative with your form design. I have developed several Knack databases, some having some rather large forms - large number of input fields. In these cases, I group fields into logical sections. The layout of each section can be different - having 1-3 columns. Then I use CSS to apply boxes (lines or background shading) to help break up the form and make it easier to follow.
Note that with the new builder, they took groups away from forms. However, I recently had to update an App and found a way to make it group - Place the first field of each group on a new line. Then you can drag fields to the right of each of those to create more columns in that group. Then you can drag other fields and place them underneath each of those in the first row of every group.
Then you can use CSS like the following to make it pretty:
Steve,
When you first released the new builder, I asked about this feature because I use it alot. I was told it was removed and engineering was looking into it. I believe I actually put this out on the feature request awhile back. I never received any further update. Had I not accidentally discovered how I could make it work, I still wouldn’t have known. It still doesn’t work exactly like groups from a building a form perspective, i.e. you can’t grab a group and move it around. But I am happy to know it can work with a little patience because as I said I use this capability alot to make forms easier to follow for the client.
Peter,
I was talking about forms, but I assume it may apply to detail views also.
G = group
R = row
C = Column
G1R1C1 G1R1C2 G1R1C3
G1R2C1 G1R2C2 G1R2C3
G2R1C1 G2R1C2
G2R2C1 G2R2C2
G3R1C1
G4R1C1 G4R1C2
Given this grouping, place the following fields on a new row : G1R1C1, G2R1C1, G3R1C1, G4R1C1
At this point you have 4 rows, each with one field.
Now place G1R1C2 to the right of G1R1C1, then G1R1C3 to the right of G1R1C2.
Now you can place G1R2C1 under G1R1C1 (make sure you are only under G1R1C1 and not the whole row). Repeat for G1R2C2 and G1R2C3.
Now repeat this process for the remaining fields in the other groups.
Once you have established the groups, you can move items around within the group (or delete and add to another group).