So, if the form to create the job has an e-mail field, and you put that value into a custom field called jobemail, then on your resume submission form, something like this would potentially work. (I haven't tested it.)
<?php
add_filter("gform_field_value_jobemail", "grabjobemail");
function grabjobemail($value){
global $post;
if (get_post_meta($post->ID, 'jobemail', true)) {
$jobemail = get_post_meta($post->ID, 'jobemail', true);
return $jobemail;
}
}
?>
Basically, this would go in your functions.php file. You would need a field in your resume submission form called Job E-mail with allow populate dynamically checked and the parameter name to be jobemail.
http://www.gravityhelp.com/documentation/page/Gform_field_value_$parameter_name
This should grab the value of the custom field and push it into the form field.
Posted 12 years ago on Thursday August 2, 2012 |
Permalink