Automatically filling form fields based on users's input
Hi,
I'm creating a knowledge base using SMW and have a question about the best way to implement a feature the users are requesting.
The users are doing literature reviews of PubMed papers and would like to automatically populate several fields of a SMW form I created for them to enter their findings. The idea is that whenever they enter a PubMed ID into the form's PMID field, the form then queries the PubMed Entrez database for the paper's abstract, author's list, etc and pre-fills the appropriate fields in the form. They can then edit any of the fields and save it into SMW.
We have a hack that is sorta working now where they enter their findings into a separate webpage form that we created and once it's filled out we insert it into SMW using Snoopy. Is there some way that would be more elegant?
Thanks in advance