Thanks for your reply. I can take NO for an answer, but from your reply it appears that I didn’t explain enough.
There is no need to include data from an external database. All we need is that the form shall be able to include the query_string in the submission.
If this can be modified, can you please tell me which file would handle this?