You can check this conditional logic of form designer. For some advance and complex use cases you can check this