View Issue Details

This bug affects 2 person(s).
 14
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
Description

If 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.
Attached Files
Capture.PNG (45,525 bytes)   
Capture.PNG (45,525 bytes)   
Capture1.PNG (18,521 bytes)   
Capture1.PNG (18,521 bytes)   
Capture2.PNG (10,750 bytes)   
Capture2.PNG (10,750 bytes)   
Bug heat14
Story point estimate
Users affected %

Users monitoring this issue

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')); ?>

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
2022-12-09 14:03 Mazi Bug heat 8 => 14