Quintiq file version 2.0 
 | 
#parent: PanelInitChoice/ButtonSubmit 
 | 
Response OnClick () id:Response_PanelInitChoice_ButtonSubmit_OnClick 
 | 
{ 
 | 
  #keys: '[121114.1.2065122641]' 
 | 
  Body: 
 | 
  [* 
 | 
    // OnClick Submit Button 
 | 
     
 | 
    choice := DataHolderCurrentInitChoice.Data(); 
 | 
     
 | 
    next := choice.Select( RadioButtonGroupChoices.BoundValue() ); 
 | 
     
 | 
    ListInitElement.SelectByKey( next.Key() ); 
 | 
  *] 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick' 
 | 
  Precondition: 
 | 
  [* 
 | 
    // Enable when there is something to submit 
 | 
     
 | 
    return not isnull( DataHolderCurrentInitChoice.Data() ) // To prevent null error when clicking 'Next' too quickly 
 | 
           and RadioButtonGroupChoices.BoundValue() <> ""; 
 | 
  *] 
 | 
} 
 |