Add a related child record from the parent edit form.

3 posts by 2 authors in: Forums > CMS Builder
Last Post: May 6, 2011   (RSS)

Re: [rconring] Add a related child record from the parent edit form.

By Jason - May 6, 2011

Hi,

Currently there isn't a way to auto-populate fields in a related record. What we can do is add extra information to your drop down list in your child section to make it easier to make sure you have the correct person.

If you can let me know which fields you currently use for your drop down value and label and what extra fields you'd like to see in your drop down, I can give you some instructions on how to set that up.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Add a related child record from the parent edit form.

By rconring - May 6, 2011

Yep ... I figured that out and in the list query placed:

SELECT num, CONCAT(last_name,", ",first_name," - ",address)
FROM `<?php echo $TABLE_PREFIX ?>donors`

It works as far as presenting the info needed, but is very cumbersome for the person entering the data. If the donor is not in the database, they have to first make sure the doner is entered then go back to the donations to enter the related donation.

Maybe this would be a nice feature request for future versions.
Ron Conring
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987