Skip to content

background-geopoint and start-geopoint with a label generate a trigger control #865

Description

@latin-panda

Description

When a background-geopoint or start-geopoint row has a label, pyxform adds a body control for it:

<trigger ref="/data/name_location">                                                                                                                                                                    
  <label>Geo with label</label>                                                                                                                                                                        
</trigger>                                                                                                                                                                                             

A trigger shouldn't be bound to geopoint node in this case. There is no use case for a label on these types, since the question is not shown to the data collector.

Without a label, only the odk:setgeopoint action is generated, which is correct.

backgroundgeopoint-with label.xlsx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions