Quintiq file version 2.0
#parent: pnlActions/btnOk
Response OnClick () id:Response_pnlActions_btnOk_OnClick
{
  #keys: '[414382.0.482374530]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    feedback := Translations::FilllingCapacity_ValidateInput();
    
    checkValue := not GradeTarget.Text() = ''
    
    if( isRange.Checked() )
    {
       checkValue := not RangeMax.Text() = '' and not RangeMin.Text() = '' and RangeMax.Text() > RangeMin.Text();
    }
    
    return checkValue;
  *]
  QuillAction
  {
    Body:
    [*
      Form.ClickBtnOK();
    *]
    GroupServerCalls: false
  }
}
