mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Replace date time hardcoding with defaults from config
Add operator and respondent details to core replacements in Limesurvey expression manager (need to use capitalisation)
This commit is contained in:
@@ -632,7 +632,10 @@ function quexs_core_replace()
|
||||
$core['PERCCOMPLETE'] = round(get_percent_complete($case_id),0);
|
||||
$core['ENDINTERVIEWURL'] = get_end_interview_url();
|
||||
$core['STARTINTERVIEWURL'] = get_start_interview_url();
|
||||
|
||||
$core['OPERATOR:FIRSTNAME'] = get_operator_variable('firstName',$operator_id);
|
||||
$core['OPERATOR:LASTNAME'] = get_operator_variable('lastName',$operator_id);
|
||||
$core['RESPONDENT:FIRSTNAME'] = get_respondent_variable('firstName',$respondent_id);
|
||||
$core['RESPONDENT:LASTNAME'] = get_respondent_variable('lastName',$respondent_id);
|
||||
|
||||
return $core;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user