• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Everything is submitted to php without the hidden field in a post form


Well-known member
From the form below everything is submitted into my php handler, with the exception of the hidden field name="5". Does anyone have any idea why? Thanks.
 <form action="{$action}" method="post" class="rating RatingWidget">
<input type="hidden" name="abc" value="5" />
<dt class="prompt muted">{xen:raw $prompt}</dt>
<span class="ratings">
<button type="submit" name="rating" value="1" class="star {xen:if '{$rating} >= 1', 'Full'}{xen:if '{$rating} == 0.5', 'Half'}" title="{$xenOptions.aa_rating_1}">1</button
><button type="submit" name="rating" value="2" class="star {xen:if '{$rating} >= 2', 'Full'}{xen:if '{$rating} == 1.5', 'Half'}" title="{$xenOptions.aa_rating_2}">2</button
 public function actionAddRate()
$dwData = $this->_input->filter(array(
'abc' => XenForo_Input::UINT,
'rating' => XenForo_Input::UINT,
$rating is imported, $abc is not :(