Tylor,
I’ve written a hack for this as I had the same requirement and could not find a solution anywhere! I’m not a WordPress expert so hopefully someone who is can take this and refine it. It does work though ??
in plugins/contact-form-7/modules open up text.php.
find the line:
$value = $values[0];
(about line 73)
replace with:
$match = strpos($values[0], 'GET_');
if ($match === false) {
$value = $values[0];
} else {
$values[0] = str_replace('GET_', '', $values[0]);
if (isset($_GET[$values[0]])) {
$value = $_GET[$values[0]];
}
}
Save the file.
In the contact form admin area, when you have a field that requires a GET var to appear insert ‘GET_’ directly before the variable name – ie;
[text your-name "GET_ref"]
If the GET var exists it will appear otherwise the field will be left blank!
There’s no support with this but I hope it solves your problem until a better option becomes available ??
Thanks,
Matt