Not able to preview on the form builder

Dear community,

I need help to resolve this. When I click preview on the form builder, I get this error message
‘NoneType’ object is not iterable

I ran the excel sheet on the online validator and it gives me this message for a number of rows.

[row : 76] Group has no label: {‘name’: ‘group_ql7cz17_header’, ‘type’: ‘begin_group’

I have a number of matrix tables on the form, and I suspect it has something to do with the tables.

Please I need help to resolve this.

Welcome to the community, @ngozi_ugwumba! Maybe you could add a short label to the begin group question types in your XLSForm. That should solve your issue.

Besides, have you validated your XLSForm through this online validator? The online validator should help you identify any syntax issues that are affecting the form deployment.

This post discussed previously should help you use the online validator.

Many thanks @Kal_Lam for the quick response. I have used the online validator and here are the responses it is giving me;

[row : 76] Group has no label: {‘name’: ‘group_ql7cz17_header’, ‘type’: ‘begin_group’}

[row : 85] Group has no label: {‘name’: ‘group_ql7cz17_hs_planning_meetings_1’, ‘type’: ‘begin_group’}

[row : 94] Group has no label: {‘name’: ‘group_ql7cz17_tb_planning_meetings’, ‘type’: ‘begin_group’}

[row : 103] Group has no label: {‘name’: ‘group_ql7cz17_ms_planning_meetings_1’, ‘type’: ‘begin_group’}

[row : 112] Group has no label: {‘name’: ‘group_ql7cz17_hiv_planning_meetings_1’, ‘type’: ‘begin_group’}

[row : 121] Group has no label: {‘name’: ‘group_ql7cz17_malaria_planning_meetings’, ‘type’: ‘begin_group’}

[row : 130] Group has no label: {‘name’: ‘group_ql7cz17_joint_planning_meetings_1’, ‘type’: ‘begin_group’}

@ngozi_ugwumba, you may need to add the labels to all these begin_group question types. Once you add labels, you may need to validate your XLSForm through the online validator again and keep repeating this process until you resolve your issue.

Thanks. Will try and feedback.

1 Like

@Kal_Lam, I did all the updates on the group labels, tested it on the validator and it cleared. When I upload the new excel sheet, the form no longer displays the matrix tables properly.