# ある動作をしようとしたらログインページに飛ばす方法があればご教授頂きたいです。......

**URL:** <https://www.nocode-faq.com/t/topic/289>\
**Category:** Adalo\
**Created:** [2021 年 2 月 2 日午前 8:41 UTC](https://www.nocode-faq.com/t/topic/289 "2021-02-02T08:41:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Question\_user](https://avatars.discourse-cdn.com/v4/letter/q/53a042/32.png) [@Question\_user](https://www.nocode-faq.com/u/Question_user)\
**Post date:** [2021 年 2 月 2 日午前 8:41 UTC](https://www.nocode-faq.com/t/topic/289/1 "2021-02-02T08:41:35Z")

</div>

ある動作をしようとしたらログインページに飛ばす方法があればご教授頂きたいです。

---

<div class="post-metadata">

**Author:** ![Answer\_user](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Answer\_user](https://www.nocode-faq.com/u/Answer_user)\
**Post date:** [2021 年 2 月 2 日午前 8:41 UTC](https://www.nocode-faq.com/t/topic/289/2 "2021-02-02T08:41:36Z")

</div>

回答者  
”ある”動作次第ですが、例えば、ボタンを押したらログインページに戻るみたいな場合には、Buttonの要素クリックすると、Add ActionButton でLink指定ができるので、そちらでいかがでしょうか？

質問者  
sign-upやlog inをしなくても作品一覧は見える仕様で保存ボタンを押せるのはログインユーザーのみという設定にしたいです。  
掲載内容は見れるけど詳細確認はログインユーザーのみ！という仕様です。

回答者  
Change Visibility 機能があるので、  
そこをSometimes Visibleにすると、ログインしてる/してない でボタンなどのコンポーネントのON/OFFが選べます。  
なので、会員専用ページに遷移するボタンをログインユーザーのみに、表示すればOKだと思いますー。  
Changing a Component’s Visibility

> **[Changing a Component's Visibility](https://help.adalo.com/component-basics/changing-a-components-visibility)**

質問者  
このログインユーザーの選択は何でもいい感じですか？

回答者  
何でも良いです。  
そのあとの条件式で、指定の値が一致するか？どうか判別させるので、そちらの方が大事です。

## 参考画像

![コメント 2020-07-06 165007.png](https://us1.discourse-cdn.com/flex020/uploads/ncc_forum/original/1X/bb7ba338819aedd69812f89572f0db16cbd05e5d.png)

## 参考URL

> **[Gyazo](https://gyazo.com/64e7b8e9f4dd551fa923d35b71ad578c)**

> **[Changing a Component's Visibility](https://help.adalo.com/component-basics/changing-a-components-visibility)**
