Added Country question type to Survey
Refactored WebGUI::Form::Country so that it can be used to return a list of countries
This commit is contained in:
parent
a819c93944
commit
494efe1cf1
5 changed files with 205 additions and 288 deletions
|
|
@ -57,10 +57,6 @@ use Clone qw/clone/;
|
|||
# The maximum value of questionsPerPage is currently hardcoded here
|
||||
my $MAX_QUESTIONS_PER_PAGE = 20;
|
||||
|
||||
#sub specialQuestionTypes {
|
||||
# return @SPECIAL_QUESTION_TYPES;
|
||||
#}
|
||||
|
||||
=head2 new ( $session, json )
|
||||
|
||||
Object constructor.
|
||||
|
|
@ -126,6 +122,7 @@ sub loadTypes {
|
|||
'Date',
|
||||
'Date Range',
|
||||
'Year Month',
|
||||
'Country',
|
||||
'Hidden',
|
||||
) if(! defined $self->{specialQuestionTypes});
|
||||
if(! defined $self->{multipleChoiceTypes}){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue