Hints for adding a new form field to the SSO-registration page?
Hi team!
I'm looking to add a "how did you hear about the community" form field to our registration process. We use SSO, so the page we'd do this on is the select-display-name / accept Terms & Conditions page (UserSsoRegistrationPage in Studio), which is the only community-hosted registration step.
Support has kindly created this custom field on the backend for us, and now we need to add it to the frontend. I'm trying to just get it done rather than enlist professional services or a 3rd party (we don't have internal dev resources right now). But - my dev skills are super rusty so I could use some help!
Here's basically what we want to do (screenshot):
I've figured out how to add the field to the page by creating a custom component that @overrides user-sso-registration-form (and then @delegates to print out the rest of the form). But I can't figure out how to actually inject the field within the form rather than just printing it out at the beginning. Probably one needs some Javascript chops to do this, of which I have none.
Any hints would be most appreciated! Or you can just tell me to pay someone :-)
Cheers!
- Caroline