Quote:
Originally Posted by Martyh
Hi,
When I use these two together it works , was that the instruction ? Separately they don't work.
Thanks
|
They do different things so you need them both in the
Form Hook: Before Submit:
PHP Code:
$hiddenfield1 = $vbulletin->input->clean_gpc('p', 'hiddenfield1', TYPE_NOHTML);
$formoutput = str_replace('{param}', "$hiddenfield1", $formoutput);
$formoutput .= $form[preq] . "Username:" . $form[pstq];
$formoutput .= $form['prea'] . $hiddenfield1 . $form[psta];