# Collecting Trip table Form definition and Data Entry

**URL:** <https://speciforum.org/t/collecting-trip-table-form-definition-and-data-entry/1967>\
**Category:** Get Help\
**Created:** [September 17, 2024, 6:16am UTC](https://speciforum.org/t/collecting-trip-table-form-definition-and-data-entry/1967 "2024-09-17T06:16:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anna](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@Anna](https://speciforum.org/u/Anna)\
**Post date:** [September 17, 2024, 6:16am UTC](https://speciforum.org/t/collecting-trip-table-form-definition-and-data-entry/1967/1 "2024-09-17T06:16:30Z")

</div>

In form definition, I see the table “Collecting Trip” with the fields I want to use, but in data entry, I can’t see the same table. How can I fix this? Thank you.

 ![Captura de pantalla 2024-09-17 a las 7.46.11](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/b/b7c54b4b4905dc4a21c8da78b0a39f9223d25487.png)

 ![Captura de pantalla 2024-09-17 a las 7.46.49](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/d/dafde51c29a19ddddfd7474418cd340f7bae184f.jpeg)

---

<div class="post-metadata">

**Author:** ![markp](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/markp/32/1184_2.png) [@markp](https://speciforum.org/u/markp)\
**Post date:** [September 17, 2024, 4:28pm UTC](https://speciforum.org/t/collecting-trip-table-form-definition-and-data-entry/1967/2 "2024-09-17T16:28:50Z")

</div>

Hi @Anna,

My guess is that one of two things is happening:

1. The default form is still in the cache
2. You have edited `CollectingTrip` and the data entry form is calling `CollectingTripForm`

To diagnosis if it is 1, sign out and back in again. If the form is still the default, this indicates that it is 2.

If you want the fields you have in the first image everywhere you interact with a Collecting Trip, you could just copy and paste the edits you have made in `CollectingTrip` into `CollectingTripForm`. Otherwise, it would involve changing the form definition that is called from wherever you are opening Collecting Trip from. If you would like help with that, I would just ask that you post the full `.xml` of all the definitions. This can be done by going to the panel with all the tables and switching to “XML editor” then copying and pasting all the text that is there. When posting here, it is best to enclose it in ``` so that it formats as code.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/0/0e7139c6e9e176fdca2f686569f4bfc69b72a9d5.png)  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/4/4f9941e8afc55b59dfe1d745a27b7f5756a37a14.png)

---

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [September 17, 2024, 8:05pm UTC](https://speciforum.org/t/collecting-trip-table-form-definition-and-data-entry/1967/3 "2024-09-17T20:05:03Z")

</div>

Hi @Anna,

Mark provided great insight above on what are most likely the underlying issue you are seeing! By default, the Collecting Trip query combo box is configured to use the `CollectingTripForm` view definition rather than the `CollectingTrip` one.

When looking to edit a particular form, I recommend going to the [“Form Meta” menu](https://speciforum.org/t/form-meta-menu/844) via the gear (:gear_:) button in the top right of any form.

See here:

This will bring you directly to the view definition you are looking to edit based on what the current logged in user will see!

If you’re already editing forms, you can actually go directly to the appropriate view definition by opening the dialog from the editor and clicking the pencil (:pencil_:) icon in the top right where the meta menu would usually be displayed:

---

<div class="post-metadata">

**Author:** ![Anna](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@Anna](https://speciforum.org/u/Anna)\
**Post date:** [September 18, 2024, 8:52am UTC](https://speciforum.org/t/collecting-trip-table-form-definition-and-data-entry/1967/4 "2024-09-18T08:52:05Z")

</div>

Hi @markp @Grant Thank you so much.  
I attach part of .xml code.

```auto
<?xml version="1.0" encoding="UTF-8"?>
<viewset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Invertebrate Views" i18nresname="views">
	<views>
		<view name="Accession" class="edu.ku.brc.specify.datamodel.Accession" busrules="edu.ku.brc.specify.datamodel.busrules.AccessionBusRules">
			<desc>The Accession form.</desc>
			<altviews>
				<altview name="Accession View" viewdef="Accession" mode="view" default="true"/>
				<altview name="Accession Edit" viewdef="Accession" mode="edit"/>
			</altviews>
		</view>
		<view name="AccessionCO" class="edu.ku.brc.specify.datamodel.Accession" busrules="edu.ku.brc.specify.datamodel.busrules.AccessionBusRules">
			<desc>The Accession form as seen in the CO form.</desc>
			<altviews>
				<altview name="AccessionCO View" viewdef="AccessionCO" mode="view" default="true"/>
				<altview name="AccessionCO Edit" viewdef="AccessionCO" mode="edit"/>
			</altviews>
		</view>
		<view name="AccessionItems" class="edu.ku.brc.specify.datamodel.CollectionObject" usedefbusrule="false" resourcelabels="false" busrules="edu.ku.brc.specify.datamodel.busrules.CollectionObjectBusRules">
			<desc>The Collection Object Subform for Accessions.</desc>
			<altviews>
				<altview name="COS View" viewdef="AccessionItems" mode="view"/>
				<altview name="COS Edit" viewdef="AccessionItems" mode="edit" default="true"/>
				<altview name="COS Table Edit" viewdef="AccessionItems Table" mode="edit"/>
				<altview name="COS Table View" viewdef="AccessionItems Table" mode="view"/>
			</altviews>
		</view>
		<view name="Address" class="edu.ku.brc.specify.datamodel.Address" busrules="edu.ku.brc.specify.datamodel.busrules.AddressBusRules" resourcelabels="false">
			<desc>Address subform within the Accession form.</desc>
			<altviews>
				<altview name="Address View" viewdef="Address" mode="view" validated="false" default="true"/>
				<altview name="Address Edit" viewdef="Address" mode="edit" validated="true"/>
				<altview name="Address Table View" viewdef="Address Table" mode="view"/>
				<altview name="Address Table Edit" viewdef="Address Table" mode="edit"/>
			</altviews>
		</view>
		<view name="Agent" class="edu.ku.brc.specify.datamodel.Agent" busrules="edu.ku.brc.specify.datamodel.busrules.AgentBusRules" isinternal="false" resourcelabels="false">
			<desc>Agent subform within the AccessionAgent form.</desc>
			<altviews defaultmode="view">
				<altview name="Agent View" title="Agent" viewdef="Agent" mode="view" validated="false"/>
				<altview name="Agent Edit" title="Agent" viewdef="Agent" mode="edit" validated="true" default="true"/>
			</altviews>
		</view>
		<view name="CollectingEvent" class="edu.ku.brc.specify.datamodel.CollectingEvent" busrules="edu.ku.brc.specify.datamodel.busrules.CollectingEventBusRules" isinternal="false" resourcelabels="false">
			<desc>CollectingEvent Form</desc>
			<altviews>
				<altview name="CollectingEvent View" viewdef="CollectingEvent" mode="view" default="true"/>
				<altview name="CollectingEvent Edit" viewdef="CollectingEvent" mode="edit"/>
			</altviews>
		</view>
		<view name="CollectingEventSub" class="edu.ku.brc.specify.datamodel.CollectingEvent" busrules="edu.ku.brc.specify.datamodel.busrules.CollectingEventBusRules" resourcelabels="false">
			<desc>CollectingEvent SubForm</desc>
			<altviews>
				<altview name="CollectingEventSub View" viewdef="CollectingEventSub" mode="view" default="true"/>
				<altview name="CollectingEventSub Edit" viewdef="CollectingEventSub" mode="edit"/>
			</altviews>
		</view>
		<view name="CollectionObject" class="edu.ku.brc.specify.datamodel.CollectionObject" busrules="edu.ku.brc.specify.datamodel.busrules.CollectionObjectBusRules" isinternal="false" resourcelabels="false">
			<desc>The Collection Object form.</desc>
			<altviews>
				<altview name="Collection Object View" viewdef="Collection Object" mode="view"/>
				<altview name="Collection Object Edit" viewdef="Collection Object" mode="edit" default="true"/>
			</altviews>
		</view>
		<view name="CollectionObjectSub" class="edu.ku.brc.specify.datamodel.CollectionObject" usedefbusrule="false" resourcelabels="false" busrules="edu.ku.brc.specify.datamodel.busrules.CollectionObjectBusRules">
			<desc>The Collection Object Subform for Accessions.</desc>
			<altviews>
				<altview name="COS View" viewdef="CollectionObjectSub" mode="view"/>
				<altview name="COS Edit" viewdef="CollectionObjectSub" mode="edit" default="true"/>
				<!-- <altview name="COS Table Edit" viewdef="CollectionObjectSub Table" mode="edit"/>
                  <altview name="COS Table View" viewdef="CollectionObjectSub Table" mode="view"/> -->
			</altviews>
		</view>
		<view name="CollectingTrip" class="edu.ku.brc.specify.datamodel.CollectingTrip" busrules="edu.ku.brc.specify.datamodel.busrules.CollectingTripBusRules" resourelabels="false">
			<desc>CollectingTrip Form</desc>
			<altviews>
				<altview name="CollectingTrip View" viewdef="CollectingTrip" mode="view" default="true"/>
				<altview name="CollectingTrip Edit" viewdef="CollectingTrip" mode="edit"/>
			</altviews>
		</view>
		<view name="ConservDescription" class="edu.ku.brc.specify.datamodel.ConservDescription" busrules="edu.ku.brc.specify.datamodel.busrules.ConservDescriptionBusRules" isinternal="false">
			<desc>Conservation Description.</desc>
			<altviews>
				<altview name="Conservation Description View" viewdef="ConservDescription" mode="view"/>
				<altview name="Conservation Description Edit" viewdef="ConservDescription" mode="edit" default="true"/>
			</altviews>

```

---

<div class="post-metadata">

**Author:** ![Anna](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@Anna](https://speciforum.org/u/Anna)\
**Post date:** [September 18, 2024, 9:04am UTC](https://speciforum.org/t/collecting-trip-table-form-definition-and-data-entry/1967/5 "2024-09-18T09:04:16Z")

</div>

Hi @Grant and @markp

If I want to go directly to edit and I go to the “Form Meta menu”, I can’t.

See here:

Thank you!

Anna

---

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [September 26, 2024, 6:07pm UTC](https://speciforum.org/t/collecting-trip-table-form-definition-and-data-entry/1967/6 "2024-09-26T18:07:49Z")

</div>

Hi @Anna,

Sorry for the delay!

If you aren’t able to navigate directly to the form definition for a given table, that means you do not currently have a view definition created for it and that it is using the default view. You will need to add a new [view definition](https://speciforum.org/t/editing-forms-in-specify-7/1557#p-2936-terminology-7) to your [form definition](https://speciforum.org/t/editing-forms-in-specify-7/1557#p-2936-terminology-7) in [App Resources](https://speciforum.org/t/app-resources-in-specify-7/582).

If you can go directly to the form definition from the :gear_: on Collection Object, you can simply add the view definition to that form definition and it should appear for you.

---

<div class="post-metadata">

**Author:** ![Anna](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@Anna](https://speciforum.org/u/Anna)\
**Post date:** [September 27, 2024, 9:31am UTC](https://speciforum.org/t/collecting-trip-table-form-definition-and-data-entry/1967/7 "2024-09-27T09:31:18Z")

</div>

Hello @Grant

Thank you !

Silvia (RJB) help me to configured the `CollectingTripForm` view definition rather than the `CollectingTrip` one. It worked! Thany you!

Anna
