I think I'm missing a step or something. I'd like to start to use JS on the Registration page for an event on the portal for events. I can't seem to get it to work with the process below.
Here's my process:
I grab the id of the field....
Add custom JavaScript to a form - Power Apps | Microsoft Docs - this is for advanced forms but there is a spot for Custom Javascript on the page I am working with (see screenshots below this)
Pretty sure I am grabbing the right page here - the Partial URL matches with the URL of the registration page
I then take the snippet from MS docs and modify the field to match my field from first screenshot. This doesn't seem to work after saving.
My first dive into Marketing and the integration of this with portals. Any help is super appreciated! At the end of the day I am wanting to do some pre-filling registration pages with the current user who is logged in.