title: How do I get the value of the 'Branch files on creation' value in the Stream creation form from a form-in trigger?
body: <p>I am setting up a Perforce Trigger on a Helix Core Server which is triggered on stream creation forms when the user submits the form for the stream to be created. I want to validate the name of the stream the user has selected. I also want to warn the user if they decide to not select 'Branch files from parent on stream creation' setting.</p>
  
  <p><a href="https://i.stack.imgur.com/UJHzv.png" rel="nofollow noreferrer">Stream creation form example</a></p>
  
  <p>So far I have setup the trigger which works and can currently verify the stream name. However I am unable to find a way to get the boolean value of the checkbox for the 'Branch files...' setting.</p>
  
  <p>Trigger line:</p>
  
  <pre><code>check-stream-name form-save stream "python /p4/common/bin/triggers/check_stream_name_trigger.py %formfile%"
  </code></pre>
  
  <p>I get all the form fields by grabbing the 'formfile' variable when the trigger is hit which gives me a temporary file name which i can read and get values for most of the fields on the form. But the 'Branch files...' field value is not shown.</p>
  
  <pre><code>Stream: //TestDepot/devs/TestStream_dev
  
  Update: 
  
  Access: 
  
  Owner:  me
  
  Name:   TestStream_dev
  
  Parent: //TestDepot/Mainlines/ShortStream
  
  Type:   development
  
  Description:
      Created by me.
  
  Options:    allsubmit unlocked toparent fromparent mergedown
  
  Paths:
      share ...
  </code></pre>
  
  <p>How do I get the value of the 'Branch files...' checkbox in the trigger?</p>