Hi, just to say I corrected a bug in LS => Token => Attribute fields.
Before, when you created various attribute fields, they didn't appeared in the token form (just the last one), wich was provoking a bug when one of the none shown attributes was mandatory.
I don't know where to submit bugs correction, so I do it here.
application/controllers/admin/tokens.php
tokens::_handletokenform$aData['attrfieldnames']=array();
/*LS HACK !!*/
$lsAttrFields = array();
$aAdditionalAttributeFields = Survey::model()->findByPk($iSurveyId)->tokenAttributes;
foreach ($aAdditionalAttributeFields as $sField=>$aData)
{
if (in_array($sField,$aTokenFieldNames))
{
$lsAttrFields[$sField]=$aData;
}
}
$aData['attrfieldnames']=$lsAttrFields;
Now, all attributes are shown in token form.