View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
11204Feature requestsCentral participant databasepublic2021-12-02 15:03
Reporterabhidwi Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Summary11204: Attribute set with type DropDown or date is not reflecting
DescriptionIf I create a attribute in CPDB with type dropdown or date and If i use same attribute for my token attributes and make it available for registration then on registration page it shows on text box not the attribute dropdown with values or date.

Check this on demo site :
http://demo.limesurvey.org/index.php?r=admin/survey/sa/view/surveyid/149824

count attribute is an drop-down and has values for it but on registration page it is showing as text box only
TagsNo tags attached.
Bug heat8

Users monitoring this issue

User List Leithy

Activities

DenisChenu

DenisChenu

2016-05-18 14:19

developer   ~38665

demo website is reset each nigth : please upload a little lss file.
abhidwi

abhidwi

2016-05-20 12:44

reporter   ~38700

Attached 3 images
1) CPDB attribute country with type drop-down added
2) Attribute set in token for registration page
3) on registration page option coming as text box only, not as drop-down.

On register form PHP file there is no code to support drop-down
 <?php echo CHtml::textField("register_{$key}", $aAttribute[$key],array('id'=>"register_{$key}",'class'=>'form-control')); ?>
abhidwi

abhidwi

2016-05-20 12:46

reporter  

Capture.PNG (45,525 bytes)   
Capture.PNG (45,525 bytes)   
abhidwi

abhidwi

2016-05-20 12:46

reporter  

Capture1.PNG (18,521 bytes)   
Capture1.PNG (18,521 bytes)   
abhidwi

abhidwi

2016-05-20 12:46

reporter  

Capture2.PNG (10,750 bytes)   
Capture2.PNG (10,750 bytes)   
Leithy

Leithy

2021-12-02 15:02

reporter   ~67655

This issue is still present in 5.x and also applies to the Additional Attributes screen

Steps to reproduce
1. Create myattribute in the CPD with type Date or Dropdown
2. In a survey create an additional attribute and map it to myattribute
3. In Edit Participant, Additional Attributes myattribute is shown as a text box

Also the documentation suggests that more types are planned - are they logged as planned features or should feature requests be raised for these?:
    Drop Down
    Check Box
    Radio
    jQuery DatePicker
    Text Box

https://manual.limesurvey.org/Central_participants_database_(User_panel)_Development

Issue History

Date Modified Username Field Change
2016-05-18 09:31 abhidwi New Issue
2016-05-18 14:19 DenisChenu Note Added: 38665
2016-05-20 12:44 abhidwi Note Added: 38700
2016-05-20 12:46 abhidwi File Added: Capture.PNG
2016-05-20 12:46 abhidwi File Added: Capture1.PNG
2016-05-20 12:46 abhidwi File Added: Capture2.PNG
2021-12-02 15:02 Leithy Note Added: 67655
2021-12-02 15:02 Leithy Bug heat 4 => 6
2021-12-02 15:03 Leithy Issue Monitored: Leithy
2021-12-02 15:03 Leithy Bug heat 6 => 8