You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We encountered an interesting problem on REDCap 13.1.10 · PHP 8.1.16 (Linux/Unix OS) · MariaDB 10.4.27. Data are not saved for the IMAGEMAP questions on a particular project created long time ago (using public survey link or add/edit records) but IMAGEMAP works on other newly created projects. I copied the old project on REDCap interface, and the copied one has the same problem. However, when I created a new project by uploading the XML file of this project, the question using IMAGEMAP simply disappears. I discovered the XML file simply does not contain this IMAGEMAP question. The only possible way to avoid this problem is to create a new project from scratch. Rob Taylor suggested that we should contact you since this looks like it mostly involves the IMAGEMAP external module, it does not appear to be a REDCap bug but probably a bug caused by the IMAGEMAP EM.
gunther.rezniczek commented • 6 months, 1 week ago (2023-02-24 05:03) @tim.zheng (and @andy.martin fyi) - Your field type is checkbox (without any options!). Either use a textbox type field for image map, or add all possible codes fXX, bXX to the checkbox field. This also explains why your clicks weren't saved.
Apparently, the XML export drops any checkbox fields that have no choices set. This still happens in 13.3.2 and could/should be considered a bug @rob.taylor
We should probably improve the EM to automatically suggest the options when you add an imagemap tag to the online designer... another ticket in the backlog.
We encountered an interesting problem on REDCap 13.1.10 · PHP 8.1.16 (Linux/Unix OS) · MariaDB 10.4.27. Data are not saved for the IMAGEMAP questions on a particular project created long time ago (using public survey link or add/edit records) but IMAGEMAP works on other newly created projects. I copied the old project on REDCap interface, and the copied one has the same problem. However, when I created a new project by uploading the XML file of this project, the question using IMAGEMAP simply disappears. I discovered the XML file simply does not contain this IMAGEMAP question. The only possible way to avoid this problem is to create a new project from scratch. Rob Taylor suggested that we should contact you since this looks like it mostly involves the IMAGEMAP external module, it does not appear to be a REDCap bug but probably a bug caused by the IMAGEMAP EM.
We have no idea what causes this failure and acknowledge that a brand new project would not have this problem.
More discussion on the REDCap community website can be found here: https://community.projectredcap.org/questions/142889/questions-missing-in-a-new-project-created-by-xml.html
and here:
https://community.projectredcap.org/questions/142886/imagemap-not-working-on-certain-projects-project-x.html?childToView=142904#comment-142904
The text was updated successfully, but these errors were encountered: