- Posts: 57
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
$dom = new \toolsDomDocument\SmartDOMDocument(); $dom->loadPartialHTML($this->event->get('answers')); $input=$dom->getElementById("answer{$sgq}"); $currentValue=$input->textContent;
$currentValue = $_SESSION['survey_'.$oEvent->get('surveyId')][$sgq]; // This can not broke : it's set in EM::_validateQuestion