# Select Sibling Component on Event Triggered

**URL:** <https://forum.inductiveautomation.com/t/select-sibling-component-on-event-triggered/91550>\
**Category:** Ignition\
**Tags:** scripting, perspective\
**Created:** [June 7, 2024, 3:28pm UTC](https://forum.inductiveautomation.com/t/select-sibling-component-on-event-triggered/91550 "2024-06-07T15:28:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ColeS](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@ColeS](https://forum.inductiveautomation.com/u/ColeS)\
**Post date:** [June 7, 2024, 3:28pm UTC](https://forum.inductiveautomation.com/t/select-sibling-component-on-event-triggered/91550/1 "2024-06-07T15:28:11Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/e/0e75eb7b7385c39dac4c728c91c4a2372c97003a.png)

I was wanting to know what the parameter would be to select another object on an event. The goal is to be able to click on the calendar icon to open the date selection in addition to the date time input component. What would the self.getsibling("DateTimeInput") string be to select the date selection box and open the dropdown selection?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 7, 2024, 3:47pm UTC](https://forum.inductiveautomation.com/t/select-sibling-component-on-event-triggered/91550/2 "2024-06-07T15:47:48Z")

</div>

```python
self.getsibling("DateTimeInput").focus()

```
