# Help sending data to a page via navigation workflow

**URL:** <https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193>\
**Category:** Database\
**Created:** [November 25, 2022, 4:56pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193 "2022-11-25T16:56:33Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Buddha](https://avatars.discourse-cdn.com/v4/letter/b/a9a28c/32.png) [@Buddha](https://forum.bubble.io/u/Buddha)\
**Post date:** [November 25, 2022, 4:56pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/1 "2022-11-25T16:56:33Z")

</div>

Hi,

I have a pricing dropdown on page 1 populated with data from an option set.

 ![Screen Shot 2022-11-25 at 5.29.56 PM](https://us1.discourse-cdn.com/bubble/original/3X/b/3/b3d05f355c5e317d0244a76f99fff63885dac0e2.png)

Then I want to be able to access the pricing information (option set) attribute of each dropdown selection on the next page, when the “Pay” button (shown below) is clicked.

I intend to use this data here…

 ![Screen Shot 2022-11-25 at 5.30.33 PM](https://us1.discourse-cdn.com/bubble/original/3X/c/a/ca7a45d4956522092d068ae7221e6dbbc13c87bb.png)

When the “Pay” button is clicked, here the data I set the page to send to the next page…

 ![Screen Shot 2022-11-25 at 5.53.24 PM](https://us1.discourse-cdn.com/bubble/original/3X/6/7/6727f54b5feca076c60abbe24f394c5f80911b50.png)

I can’t find this data on the next page however. Please how should I go about this?

Thanks.

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [November 25, 2022, 6:10pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/2 "2022-11-25T18:10:21Z")

</div>

What’s your checkout page’s data type? When you do the “Data to send” it is usually retrieved by “Current page’s [thing]” on that page

---

<div class="post-metadata">

**Author:** ![Buddha](https://avatars.discourse-cdn.com/v4/letter/b/a9a28c/32.png) [@Buddha](https://forum.bubble.io/u/Buddha)\
**Post date:** [November 25, 2022, 6:19pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/3 "2022-11-25T18:19:53Z")

</div>

Hi Tyler,

I don’t have any data type assigned as the options displayed are not relevant.

Just these three…

 ![Screen Shot 2022-11-25 at 7.19.24 PM](https://us1.discourse-cdn.com/bubble/original/3X/4/0/4073baf8e99ff2d41441e9d94f645cfce1cceef2.png)

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [November 25, 2022, 6:24pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/4 "2022-11-25T18:24:07Z")

</div>

That dropdown where you pick the monthly plans, is that a data type you’re doing to get different plans? If so set your page to that data type then the Data to send to page is your Dropdown’s value

---

<div class="post-metadata">

**Author:** ![Buddha](https://avatars.discourse-cdn.com/v4/letter/b/a9a28c/32.png) [@Buddha](https://forum.bubble.io/u/Buddha)\
**Post date:** [November 25, 2022, 6:41pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/5 "2022-11-25T18:41:32Z")

</div>

> [@tylerboodman](#):
>
> That dropdown where you pick the monthly plans, is that a data type you’re doing to get different plans?

No, from an option set.

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [November 25, 2022, 7:02pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/6 "2022-11-25T19:02:10Z")

</div>

@mikeloc I see you over there 👀

Seems odd Bubble doesn’t let you set a page to an option sets value… Maybe it’s to encourage using a data type instead. See what mike says his method is going to be better than mine

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [November 25, 2022, 7:05pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/7 "2022-11-25T19:05:27Z")

</div>

Hi there, @Buddha… you could go with a URL parameter on this one. If you want to go this route, change your workflow action to send a parameter like this (note that you can name the parameter anything you want, and I probably wouldn’t call it “pay” so it’s not so obvious that it is the payment amount).

 ![param](https://us1.discourse-cdn.com/bubble/original/3X/d/f/df121e58e6e75986973c30fc4158ddbec224560a.png)

Then, on the checkout page, use the _Get data from page URL_ option in the element that displays the payment amount, and configure it like this.

 ![pay](https://us1.discourse-cdn.com/bubble/original/3X/2/e/2e0912a055afe5881ae345fe78e2efd5ac8ee450.png)

Just make sure the _Parameter name_ is exactly the same as what you typed for the _Key_ in the workflow action.

Hope this helps.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [November 25, 2022, 7:14pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/8 "2022-11-25T19:14:13Z")

</div>

My concern with URL parameter is someone tampering with the URL and typing in a custom amount.

Maybe instead the URL parameter type be the actual option set type? And add a new attribute to the option set with the price. Or switch to a datatype at this point.

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [November 25, 2022, 7:22pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/9 "2022-11-25T19:22:31Z")

</div>

Yeah, good point… even if it’s unlikely, having someone tamper with the amount is still a possibility, so it certainly makes sense to avoid it. The good thing is that the option set [already has the attribute](http://forum.bubble.io/t/change-value-of-text-based-on-dropdown-selection/234083) on it.

So, @Buddha… you should go this route if you are going to use a URL parameter.

 ![plan](https://us1.discourse-cdn.com/bubble/original/3X/8/2/8293441b563d0a7ab34b6494cd0157a4a00f5e0e.png)

 ![filter](https://us1.discourse-cdn.com/bubble/original/3X/0/0/001878a138e51f174d3737587565c80175bb9c70.png)

---

<div class="post-metadata">

**Author:** ![Buddha](https://avatars.discourse-cdn.com/v4/letter/b/a9a28c/32.png) [@Buddha](https://forum.bubble.io/u/Buddha)\
**Post date:** [November 25, 2022, 9:17pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/10 "2022-11-25T21:17:39Z")

</div>

Thanks Tyler for mentioning that. Appreciated.

---

<div class="post-metadata">

**Author:** ![Buddha](https://avatars.discourse-cdn.com/v4/letter/b/a9a28c/32.png) [@Buddha](https://forum.bubble.io/u/Buddha)\
**Post date:** [November 25, 2022, 9:19pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/11 "2022-11-25T21:19:16Z")

</div>

Thanks Mike!

I’ll try this.

Also, out of curiosity, is it possible to set these value in a state, then send the state to the next page…and be able to retrieve the values?

Regards.

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [November 25, 2022, 9:27pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/12 "2022-11-25T21:27:21Z")

</div>

> [@Buddha](#):
>
> is it possible to set these value in a state, then send the state to the next page

No… custom states can’t be sent from page to page. If you wanted to send a custom state’s value from one page to another, you would probably be using a URL parameter (or the database) anyway, so there is no need to insert a custom state into the mix on this one.

---

<div class="post-metadata">

**Author:** ![Buddha](https://avatars.discourse-cdn.com/v4/letter/b/a9a28c/32.png) [@Buddha](https://forum.bubble.io/u/Buddha)\
**Post date:** [November 25, 2022, 9:35pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/13 "2022-11-25T21:35:09Z")

</div>

Ok, thanks!

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [November 25, 2022, 11:02pm UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/14 "2022-11-25T23:02:58Z")

</div>

Your other option would be keeping your checkout elements on the same as your plan picking page, so you could use show/hide or custom states in that case.

---

<div class="post-metadata">

**Author:** ![Buddha](https://avatars.discourse-cdn.com/v4/letter/b/a9a28c/32.png) [@Buddha](https://forum.bubble.io/u/Buddha)\
**Post date:** [November 26, 2022, 6:07am UTC](https://forum.bubble.io/t/help-sending-data-to-a-page-via-navigation-workflow/234193/15 "2022-11-26T06:07:42Z")

</div>

Didn’t know I could do that. Thanks.
