I'm migrating to Magento 2 from another system. We're asking customers to re-register.
Instead of showing the default signup form when they get to the /account/create page, I want to have the form hidden, and have 2 radio buttons there asking if they're a new customer or existing customer.
I created the radio buttons as a ui component, but logic in ui components is done with ko.js, and I can't use php in the component for logic.
How can I show or hide the register form based on changing the radio button?
Thanks