I've fairly used CF7 but I haven't found a work-around or a module to be able to dinamically build a form and then use the CF7 plugin to validate and send it.
In my case, I am using custom fields to build a form in a template. How can I send that template as if it were a CF7 form?
EDIT: I am adding a bounty, requirement for correct answer is how to use CF7's validation, ajax send and locale (with WPML) functions in a partly or completely PHP-generated form. The form I want to send is here.
<form>
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Quantity</th>
</tr>
</thead>
<tbody>
<?php
$products = get_field('products');
foreach($products as $product):
$id = $product['id'];
?>
<tr>
<td class="name"><?=$product['name'];?></td>
<td class="description"><?=$product['description'];?></td>
<td class="quantity">
<input type="text" size="4" name="quantity-<?=$id;?>" id="quantity-<?=$id;?>" />
</td>
</tr>
<?php
endforeach;
?>
</tbody>
</table>
<fieldset>
<ul>
<li>
<label for="your-name"><?=__('Your Name');?></label>
<input name="your-name" type="text" />
</li>
<li>
<label for="your-email"><?=__('Your Email');?></label>
<input name="your-email" type="text" />
</li>
<li>
<input type="submit" value="<?=__('Send');?>" />
</li>
</ul>
</fieldset>
</form>