How to allow a form to "grow" as more subrecords are added

A place for users and developers of the Xataface to discuss and receive support.

How to allow a form to "grow" as more subrecords are added

Postby rleyba » Tue Mar 29, 2011 5:54 pm

hi Steve,

We have a requirement in our IT Infrastructure change form, where within the change record, a listing of devices we are touching and a list of items we will be doing per device will display. However, we need a way to dynamically "grow" a form as we add additional devices to our change record.

To make everything clear, I attach a diagram below.

Our database will basically be composed of change records, and each record can have one or more devices to effect a configuration change and one or more "firewall rule" changes.
The default layout of xataface where the related records all appear as a list on the left side bar is confusing to our users who want all their "sub record"entries all visible on the main page of the form. So based on the attached diagram, every time the user clicks on "Add new record", a blank line is inserted on the form itself, where they can populate the fields with new entries, while keeping the existing rows or entries still visible on the main entry form.

Could you point me to a template somewhere on how this can be done?

thanks.

grown xata form.jpg
grown xata form.jpg (135.4 KiB) Viewed 2412 times
rleyba
 
Posts: 53
Joined: Sat Dec 04, 2010 3:50 pm

Re: How to allow a form to "grow" as more subrecords are added

Postby shannah » Tue Mar 29, 2011 6:04 pm

You can use the grid widget to accomplish this in the edit form.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: How to allow a form to "grow" as more subrecords are added

Postby rleyba » Thu Mar 31, 2011 3:03 am

That will be just what I need....thanks.
rleyba
 
Posts: 53
Joined: Sat Dec 04, 2010 3:50 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 19 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved