3

How can data be organized in tabs within Qfield?

The "Advanced Bee Farming Demo" that comes with QField displays data organized in tabs (see picture below: General, Picture, Issues, Review, Consumption). I attempted to recreate this, but I have been unsuccessful. I can only manage to get my data to be displayed in a liner list.

What configurations need to be set in order to display tabbed data?

2

You can download the demo project to you computer and explore the configurations. Try to download from here https://github.com/opengisch/QField/tree/master/resources

1
  • This is perfect, I've been hunting for this. – Sir.Socks Aug 26 '20 at 17:32
6

In the drag and drop form designer, between the middle pane (Form Designer) and Right hand pane (widget settings) there is a green + button. Press this to create a 'container'. Give it a name (will appear as Tab Name). Choose the Radio button 'a tab'. No. of columns only applied to forms viewed in QGIS, not QField, but allows fields to span across the page. The drag your fields for that TAB - they should appear indented below the container - if not, you've not put them in the container. There are also some widget settings for the container / Tab. For instance, as when creating a group, you can set conditional visibility based on an expression. Oisin

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.