title: Get if the user has selected any new option from select in laravel
body: <p>I am using laravel backpack and in my update function there is a form which could be edited using <code>edit</code> button of laravel which calls the update function.</p>
  
  <p>and in my form I have an <code>expiry_date</code> and a <code>month</code> field which helps my client to update the subscription of his user. All is working fine and here is the code of my update function:</p>
  
  <pre><code>public function update(UpdateRequest $request)
  {
  
      date_default_timezone_set('asia/calcutta');
      $month = $request-&gt;month;
      $expiry = new Carbon($request-&gt;expiry_date);
      $expiry_date = $expiry-&gt;addMonths($month);            
      $request['expiry_date'] = $expiry_date;
  
      // your additional operations before save here
      $redirect_location = parent::updateCrud($request);
      // your additional operations after save here
      // use $this-&gt;data['entry'] or $this-&gt;crud-&gt;entry
      return $redirect_location;
  }
  </code></pre>
  
  <p><strong>NOW THE PROBLEM IS:</strong></p>
  
  <ul>
  <li>whenever my client clicks on edit button and edits the fields other than <code>month</code> and clicks on update, it calculates the expiry date again but my client clicked the button to update some other details of his user.</li>
  </ul>
  
  <p>I want to ask if there is any method or something which could help me in finding that :</p>
  
  <p><em>if</em> the user has clicked on <code>select of month</code> and has selected a option from the select then only execute the <code>adding month to expiry_date code</code> and if not then only update the details of the user without affecting the original expiry_date. </p>
  
  <p>If this is not the way please help me in finding the correct way.</p>
  
  <p>Thanks and Regards</p>