title: How to refer filling of one form with the filling of other in Atk4
body: <p>I have made two forms for logged users. The first one is for trip info (name, short description) and the second is for different landmarks (name, description) that are part of the trip of current user. Is it possible to "connect" the user with filling of trip form and the form for landmarks that is going to be used several times for different landmarks. I have the models "trips", "user" and "landmarks" with respective id's, but I can not solve the problem alone. </p>
  
  <p>........................</p>
  
  <p>I have tried this and it happened (thanks to Romaninsh):</p>
  
  <pre><code>function page_trips(){
  $this-&gt;api-&gt;stickyGET('id');
  $id=$this-&gt;api-&gt;auth-&gt;get('id');
  $f=$this-&gt;add('Form');
  $f-&gt;addField('line','name')-&gt;setNotNULL();
  $f-&gt;addField('Text','short_desc')-&gt;setNotNULL();
  $f-&gt;setSource('trips');
  $f-&gt;setConditionFromGET();
  $f-&gt;dq
       -&gt;set('user_id',$id);
  $f-&gt;addSubmit('Next');
  if($f-&gt;isSubmitted())
  {
      $f-&gt;update();
  
      $f-&gt;js()-&gt;univ()-&gt;location($this-&gt;api-&gt;getDestinationUrl('../targets')
      )
  
      -&gt;execute();
  }
  }
  </code></pre>
  
  <p>Now I can enter an info about new trip and save to table with respective user id. The rest of the task is to add different landmarks to current trip.</p>