# Alternate clicking

**URL:** <https://forum.inductiveautomation.com/t/alternate-clicking/89092>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 19, 2024, 4:42am UTC](https://forum.inductiveautomation.com/t/alternate-clicking/89092 "2024-04-19T04:42:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Rodolfo\_Mutuc](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@Jose\_Rodolfo\_Mutuc](https://forum.inductiveautomation.com/u/Jose_Rodolfo_Mutuc)\
**Post date:** [April 19, 2024, 4:42am UTC](https://forum.inductiveautomation.com/t/alternate-clicking/89092/1 "2024-04-19T04:42:41Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/d/2d1f7f5acd3dacef5149e20be0d69eb059659b98.png)  
what can i do when i click the highlighted one then the remoe:true in instance 0 turn into false . like this  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/7/975d532c773b7a1350ad668a9003e0f7270f848e.png)  
and when i click the other it become like this  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/f/6fe996a854f9bd73587d7325dc11a7183c853cbf.png)

---

<div class="post-metadata">

**Author:** ![vasanth.p](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/vasanth.p/32/38099_2.png) [@vasanth.p](https://forum.inductiveautomation.com/u/vasanth.p)\
**Post date:** [April 19, 2024, 5:49am UTC](https://forum.inductiveautomation.com/t/alternate-clicking/89092/2 "2024-04-19T05:49:21Z")

</div>

You can send a message on the base view and implement the message handler on the flex repeater to set the value remove as true.  
**Method 1:**  
On base view:

```auto
system.perspective.sendMessage("lotCarrierSelection", payload = {"carrierName": "one"}

```

On message Handler: check and set the prop like this

```auto
if payload['carrierName'] == 'one':
    instanceProps['remove'] = True

```

**Method 2:**

Configure the 'remove' parameter in the base view as 'Output'  
By clicking on the ⬅ icon beside the param name (Params section of view )

---

<div class="post-metadata">

**Author:** ![Jose\_Rodolfo\_Mutuc](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@Jose\_Rodolfo\_Mutuc](https://forum.inductiveautomation.com/u/Jose_Rodolfo_Mutuc)\
**Post date:** [April 19, 2024, 5:57am UTC](https://forum.inductiveautomation.com/t/alternate-clicking/89092/3 "2024-04-19T05:57:33Z")

</div>

not working

---

<div class="post-metadata">

**Author:** ![mpoulsen921](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@mpoulsen921](https://forum.inductiveautomation.com/u/mpoulsen921)\
**Post date:** [April 19, 2024, 6:22am UTC](https://forum.inductiveautomation.com/t/alternate-clicking/89092/4 "2024-04-19T06:22:30Z")

</div>

The methods suggested by vasanth.p does work as a concept. However, you won't be able to just copy-paste his example code. You would need to modify it to your specific case.

---

<div class="post-metadata">

**Author:** ![Jose\_Rodolfo\_Mutuc](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@Jose\_Rodolfo\_Mutuc](https://forum.inductiveautomation.com/u/Jose_Rodolfo_Mutuc)\
**Post date:** [April 19, 2024, 6:57am UTC](https://forum.inductiveautomation.com/t/alternate-clicking/89092/5 "2024-04-19T06:57:30Z")

</div>

i try the suggestion and modify depending to what i need. but does not work

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [April 19, 2024, 7:04am UTC](https://forum.inductiveautomation.com/t/alternate-clicking/89092/6 "2024-04-19T07:04:54Z")

</div>

You'll need to be more specific. You can't expect people to put in effort to help you if you don't even provide the errors you run into.
