# Using Iconic Toggle to navigate to another page

**URL:** <https://forum.bubble.io/t/using-iconic-toggle-to-navigate-to-another-page/329784>\
**Category:** Need help\
**Created:** [July 5, 2024, 10:42am UTC](https://forum.bubble.io/t/using-iconic-toggle-to-navigate-to-another-page/329784 "2024-07-05T10:42:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![onwukweemeka](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/onwukweemeka/32/168326_2.png) [@onwukweemeka](https://forum.bubble.io/u/onwukweemeka)\
**Post date:** [July 5, 2024, 10:42am UTC](https://forum.bubble.io/t/using-iconic-toggle-to-navigate-to-another-page/329784/1 "2024-07-05T10:42:45Z")

</div>

I need help setting this workflow,

I want on clicking this toggle icon, when some data types are empty to go to a form.  
before it toggles,

I have been going back and forth on these please I need help

 ![Toggle](https://us1.discourse-cdn.com/bubble/original/3X/d/7/d768092e1da01e9c798df4420ff45f8910b63ba0.png)  
 ![Toggle workflow](https://us1.discourse-cdn.com/bubble/original/3X/3/6/367cd33158a4f92b90e9f02fc0593b6e2bfc7273.png)

---

<div class="post-metadata">

**Author:** ![thomas.mey](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/thomas.mey/32/259001_2.png) [@thomas.mey](https://forum.bubble.io/u/thomas.mey)\
**Post date:** [July 5, 2024, 11:31am UTC](https://forum.bubble.io/t/using-iconic-toggle-to-navigate-to-another-page/329784/2 "2024-07-05T11:31:34Z")

</div>

Hey @onwukweemeka

You need to check for your datatype before changing toggle value.

Because it’s not possible to change ionic value by action, one idea may be to change the toggle value via preset status and custom states, not by click.

Good to know: Preset status is only considered BEFORE the toggle value is changed by a user.

So the idea is:

You create a group align to parent. (fit to content)

Inside, you put :  
-Your toggle, with a custom state controlling the preset status  
-Another group, invisible, above the toggle. (fit to content unchecked)

You set your action on click on the invisible group.

There, you can choose to redirect OR to change the custom state of your toggle, which will change the toggle value.

The toggle is never really “clicked” by the user, so the preset status is always considered.

![example1](https://us1.discourse-cdn.com/bubble/original/3X/3/9/39096a620079470320db8c1dfdc91f6c44f1f4cb.png)  
The invisible group is above the toggle and takes all the space available of the wrapper group

 ![Example2](https://us1.discourse-cdn.com/bubble/original/3X/f/f/ff368ccca73b1d7426bf41da4fa0e3d8cb43962f.png)  
Dynamic preset status depending on the custom state value  
 ![Example3](https://us1.discourse-cdn.com/bubble/original/3X/b/b/bb675838feecf348f231fa9ff2c2d5e04a7eaf96.png)  
With this logic, the custom state value toggles from yes to no with the same action.

---

<div class="post-metadata">

**Author:** ![onwukweemeka](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/onwukweemeka/32/168326_2.png) [@onwukweemeka](https://forum.bubble.io/u/onwukweemeka)\
**Post date:** [July 5, 2024, 4:27pm UTC](https://forum.bubble.io/t/using-iconic-toggle-to-navigate-to-another-page/329784/3 "2024-07-05T16:27:39Z")

</div>

Thank you Thomas

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [September 13, 2024, 10:42am UTC](https://forum.bubble.io/t/using-iconic-toggle-to-navigate-to-another-page/329784/4 "2024-09-13T10:42:50Z")

</div>

Closed on September 13, 2024, 10:42am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
