# How to access observable inside observable list

**URL:** <https://forums.fusetools.com/t/how-to-access-observable-inside-observable-list/1310>\
**Category:** How-to Discussions\
**Created:** [August 6, 2017, 8:47am UTC](https://forums.fusetools.com/t/how-to-access-observable-inside-observable-list/1310 "2017-08-06T08:47:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nadzaruddin\_Kahar](https://avatars.discourse-cdn.com/v4/letter/n/9d8465/32.png) [@Nadzaruddin\_Kahar](https://forums.fusetools.com/u/Nadzaruddin_Kahar)\
**Post date:** [August 6, 2017, 8:47am UTC](https://forums.fusetools.com/t/how-to-access-observable-inside-observable-list/1310/1 "2017-08-06T08:47:52Z")

</div>

I have a form that is generated inside each tag. It is based on the following data:

```auto
var vehicles = [
    {
		id: 1,
		type: "MPV",
		make: "Toyota",
		model: "Vellfire"
	},
	{
		id: 2,
		type: "Sedan",
		make: "Honda",
		model: "Civic"
	},
	{
		id: 3,
		type: "Coupe",
		make: "Mercedes",
		model: "C-Class"
	}
};

module.exports = {
	vehicles: vehicles
}

```

The following is roughly what I have to display the form:

```auto
<Each Items="{vehicles}">
	<DockPanel>
		<DockPanel Dock="Top">
			<Panel HitTestMode="LocalBoundsAndChildren" Padding="0,8,0,8">
				<mob.RegularLabel Value="{type}" TextOffset="0" />
				<Clicked>
					<RaiseUserEvent TargetNode="checkBtn" EventName="OnClick" />
				</Clicked>
			</Panel>
			<Panel Margin="0,0,0,0" MinWidth="56" Dock="Right">
				<mob.CheckButton ux:Name="checkBtn" Id="{id}" Dock="Right" Padding="0,0,0,0">
					<WhileSelected>
						<Change detail.Visibility="Visible" Duration="0.3" Easing="QuadraticIn" />
					</WhileSelected>
				</mob.CheckButton>
			</Panel>
		</DockPanel>

		<StackPanel ux:Name="detail" Visibility="Collapsed" Color="#fafafa">

			<DockPanel>
				<mob.InputRow Dock="Left"/>
				<mob.InputRow Dock="Left">
					<mob.MDTextInput Id="first" Value="{type}" />
					<mob.RegularLabel ux:Name="vehicleType" Value="Vehicle Type"/>
				</mob.InputRow>
				<mob.InputRow Dock="Right"/>
			</DockPanel>

			<DockPanel>
				<mob.InputRow Dock="Left"/>
				<mob.InputRow Dock="Left">
					<mob.MDTextInput Id="first" Value="{make}" />
					<mob.RegularLabel ux:Name="vehicleType" Value="Vehicle Type"/>
				</mob.InputRow>
				<mob.InputRow Dock="Right"/>
			</DockPanel>
			
			<DockPanel>
				<mob.InputRow Dock="Left"/>
				<mob.InputRow Dock="Left">
					<mob.MDTextInput Id="first" Value="{model}" />
					<mob.RegularLabel ux:Name="vehicleType" Value="Vehicle Type"/>
				</mob.InputRow>
				<mob.InputRow Dock="Right"/>
			</DockPanel>
			
		</StackPanel>
	</DockPanel>
</Each>
<mob.Button Text="SAVE">
	<Clicked>
		<Callback Handler="{save}" />
	</Clicked>
</mob.Button>

```

The form behaves as expected (every time I click on the check box, it will toggle the detail form underneath an item).  
My issue is when I want to save, how do I get the data entered inside each form because there’s no explicit observable defined for each form entry. Is there a way to retrieve the entered values?

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [August 7, 2017, 8:16am UTC](https://forums.fusetools.com/t/how-to-access-observable-inside-observable-list/1310/2 "2017-08-07T08:16:33Z")

</div>

No, currently you _need_ to define an explicit observable for each field that can be edited. Then the values will be updated right inside of of your JS data, and you can iterate over the list to get whatever the new values of items are.
