I want to calculate submission with using conditional logic