# Customize signup form based on passed query parameters

**URL:** <https://community.auth0.com/t/customize-signup-form-based-on-passed-query-parameters/168168>\
**Category:** Get Help\
**Tags:** signup-prompt-new-experience, login-experience\
**Created:** [January 10, 2025, 4:00pm UTC](https://community.auth0.com/t/customize-signup-form-based-on-passed-query-parameters/168168 "2025-01-10T16:00:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![warren.harrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/warren.harrison/32/67562_2.png) [@warren.harrison](https://community.auth0.com/u/warren.harrison)\
**Post date:** [January 10, 2025, 4:00pm UTC](https://community.auth0.com/t/customize-signup-form-based-on-passed-query-parameters/168168/1 "2025-01-10T16:00:24Z")

</div>

I am using a customized login template with a custom signup prompt in order to display additional form fields. All of that is working nicely. My question is whether I can pass query string parameters and have them be accessible from the custom signup prompt via Javascript in to populate a hidden field as save to metadata.

I am using the `screen_hint=signup` query string parameter to send the user to the signup for (see first screenshot) along with an additional custom parameter (`user_type=regular`). However, once the user is redirected to the signup form, the query string parameters are no longer accessible (see second screenshot).

 ![auth](https://global.discourse-cdn.com/auth0/original/3X/2/a/2a5064434eb9b9231dee801334f543ea0b48eac2.jpeg)  
 ![signup](https://global.discourse-cdn.com/auth0/original/3X/b/2/b230665273a3f877e55d93fab662adfbd855b6bf.jpeg)

Is there any way to get a custom parameter to the signup form?

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![sumansaurav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sumansaurav/32/70627_2.png) [@sumansaurav](https://community.auth0.com/u/sumansaurav)\
**Post date:** [January 10, 2025, 5:45pm UTC](https://community.auth0.com/t/customize-signup-form-based-on-passed-query-parameters/168168/2 "2025-01-10T17:45:56Z")

</div>

Hi @warren.harrison ,

Custom param can be passed inside AuthorizationParams object and the later you can access.

```auto
authorizationParams: {
	'ext-param1': 'value1',
	'ext-param2': 'value2'
}

```

Here is the post that will help you.

> [@Passing custom parameters to Auth0 Actions from New Universal Login](https://community.auth0.com/t/passing-custom-parameters-to-auth0-actions-from-new-universal-login/117148/3):
>
> Hi @oliver.sipos, Welcome to the Auth0 Community! I changed this to a #Help topic because it should be possible already. You can send the params in the [authorizationParams object](https://auth0.github.io/auth0-react/interfaces/AuthorizationParams.html) and you can access the request query in you Action via [event.request.query](https://auth0.com/docs/customize/actions/flows-and-triggers/login-flow/event-object#:~:text=of%20the%20Organization.-,event.request,-Details%20about%20the).

Hope this helps

---

<div class="post-metadata">

**Author:** ![warren.harrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/warren.harrison/32/67562_2.png) [@warren.harrison](https://community.auth0.com/u/warren.harrison)\
**Post date:** [January 22, 2025, 6:09pm UTC](https://community.auth0.com/t/customize-signup-form-based-on-passed-query-parameters/168168/4 "2025-01-22T18:09:22Z")

</div>

Thank you, but this will give me access to parameters in an action, whereas I need to access parameters on the actual signup form, in order to display alternate content. If I’m understanding correctly, the sign form display happens before any action trigger is fired.

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [January 30, 2025, 7:29pm UTC](https://community.auth0.com/t/customize-signup-form-based-on-passed-query-parameters/168168/5 "2025-01-30T19:29:34Z")

</div>

Hi @warren.harrison,

I would recommend looking into Advanced Customizations for Universal Login. This is a feature currently in Early Access but supports A/B testing.

This may also be helpful: [Configure Additional Signup Fields on the Universal Login Page](https://community.auth0.com/t/configure-additional-signup-fields-on-the-universal-login-page/82448)

Let me know your thoughts.

Thanks,

Mary Beth

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 13, 2025, 7:29pm UTC](https://community.auth0.com/t/customize-signup-form-based-on-passed-query-parameters/168168/6 "2025-02-13T19:29:56Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
