May 14th, 2015, 1:09 PM
Hi all,
I am working a project at the moment and I'm hoping to incorporate form tools as it looks like a great tool.
The system is a martial arts membership database, what I'm trying to do is;
- I have a list of members in a mysql db table
- I want to create a form (e.g. for a tournament/competition, grading etc.) with some fields such as Name, email address, date of birth of the member
- An instructor will login, select the member who's information should be pre-populated on the form, add some additional information and then submit it.
- How do I tell form tools to auto-populate the form with the members information?
(I've looked at option lists and these seem great, particularly loading data from another form, but I need to specify which member to load, not just giving the option of all of them?)
I'm a PHP developer, so I can handle writing some PHP/JS to load the data into the form dynamically, but any pointers on where in the form tools code or within a module to do this would be great.
Thanks
Keith
I am working a project at the moment and I'm hoping to incorporate form tools as it looks like a great tool.
The system is a martial arts membership database, what I'm trying to do is;
- I have a list of members in a mysql db table
- I want to create a form (e.g. for a tournament/competition, grading etc.) with some fields such as Name, email address, date of birth of the member
- An instructor will login, select the member who's information should be pre-populated on the form, add some additional information and then submit it.
- How do I tell form tools to auto-populate the form with the members information?
(I've looked at option lists and these seem great, particularly loading data from another form, but I need to specify which member to load, not just giving the option of all of them?)
I'm a PHP developer, so I can handle writing some PHP/JS to load the data into the form dynamically, but any pointers on where in the form tools code or within a module to do this would be great.
Thanks
Keith