If you add HTML to the template like this:
HTML Code:
<input type="text" name="price" value="{vb:raw price}">
<input type="text" name="saleprice" value="{vb:raw saleprice}">
When the form is submitted, the values will be in $_POST and you can get them from there, make sure they are of the expected type, and put them in their own variables using code like this (in a plugin like we discussed above)
PHP Code:
$vbulletin->input->clean_array_gpc('p', array(
'saleprice' => TYPE_NOHTML,
'price' => TYPE_NOHTML));
$price = $vbulletin->GPC['price'];
$saleprice = $vbulletin->GPC['saleprice'];
vB_Template::preRegister('newthread', array('price' => $price, 'saleprice' => $saleprice));
(note that you can change TYPE_NOHTML to some other type if you want, for instance TYPE_UINT if you want to force them to be unsigned integers).
After that (in the same plugin) you can do whatever you want with $saleprice and $price. If you want to modify the title at that point, you can change $vbulletin->GPC['subject'].