Hi, i know that this is a old post but i have a question, i’m new in wordpress plugins and i need one addon that send the info for a form of contact form using jquery to a internal system…
i add the tab in the contact form 7 using the example of Ryan Nevius… add a field “prospectkey”
but i have a problem… how can i get this value?
i need create a jquery function like:
$.post(url,{
for each FIELD in the form + key:prospectkey
});
my code is:
add_filter( 'wpcf7_editor_panels', 'cf7pp_editor_panels' );
function cf7pp_editor_panels ( $panels ) {
$panels['Prospect'] = array(
'title' => __( 'Prospect Suite', 'contact-form-7' ),
'callback' => 'wpcf7_editor_panel_prospect'
);
return $panels;
}
function wpcf7_editor_panel_prospect($post) {
?>
<h3>Configuracion de Prospect</h3>
<fieldset>
<legend>Los campos serán enviados con el metodo configurado y el nombre del mismo, solo debe agregar una Key para el formulario, esta Key es proporcionada por la suite Prospect Suite</legend>
<input type="text" id="wpcf7-prospectkey" name="wpcf7-prospectkey" value="">
</fieldset>
<?php
}