Hi,
I have used a different approach for something similar, maybe you could do the following:
<li>Include a list on your form. This list will hold the obstacles associated with the current SPOT</li>
<li>Whenever a user submits the for to add a new obstacle to the spot, have the form's action be the same page and do the insert before displaying the form again (now the list will contain the new spot).</li>