How to add a toggle button to a post?

Hello guys!

I am creating a social network for readers. I wanted to know how I can add a toggle button to the ‘create post’ option.

Here, a reader can tag a book and talk about it. In case if the reader wants to recommend this book, he/she can check the toggle button to do so. When the toggle button is on, the tagged book gets shown on another page where all recommended books get shown together by users.

Both the create post and recommended books pages are different.

this is how the workflow of toggle button looks like:

I have set custom state to take up the tagged books value from the ‘create post’ page.

Now when I go to the recommended books page, it doesn’t give me any option to take the data from the ‘create post’ page.

How do I transfer data between pages?

1 Like

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