Skip to content

Commit

Permalink
Dev Hint now appears on hover over multiple numerical input fields as…
Browse files Browse the repository at this point in the history
… it does on a simple numerical field.
  • Loading branch information
c-schmitz committed Nov 29, 2013
1 parent 463a427 commit ef45718
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/helpers/qanda_helper.php
Expand Up @@ -3090,7 +3090,7 @@ function do_multipleshorttext($ia)
}

// -----------------------------------------------------------------
// TMSW TODO - Can remove DB query by passing in answer list from EM
// @todo: Can remove DB query by passing in answer list from EM
function do_multiplenumeric($ia)
{
global $thissurvey;
Expand Down Expand Up @@ -3269,6 +3269,7 @@ function do_multiplenumeric($ia)
$sSeparator = $sSeparator['separator'];

$answer_main .= "{$sliderleft}<span class=\"input\">\n\t".$prefix."\n\t<input class=\"text $kpclass\" type=\"text\" size=\"".$tiwidth.'" name="'.$myfname.'" id="answer'.$myfname.'" value="';
$answer_main .= "{$sliderleft}<span class=\"input\">\n\t".$prefix."\n\t<input class=\"text $kpclass\" type=\"text\" size=\"".$tiwidth."\" name=\"".$myfname."\" id=\"answer".$myfname."\" title=\"".$clang->gT('Only numbers may be entered in this field.')."\" value=\"";
if (isset($_SESSION['survey_'.Yii::app()->getConfig('surveyID')][$myfname]))
{
$dispVal = str_replace('.',$sSeparator,$_SESSION['survey_'.Yii::app()->getConfig('surveyID')][$myfname]);
Expand Down

0 comments on commit ef45718

Please sign in to comment.