Need assistance creating custom form with condition logic