Check for valid data structure in Form->buttonClicked()