# Add a custom lookup dropdown field in add/edit page

**URL:** <https://forum.radsystems.io/t/add-a-custom-lookup-dropdown-field-in-add-edit-page/186>\
**Category:** Questions\
**Created:** [April 22, 2021, 9:56am UTC](https://forum.radsystems.io/t/add-a-custom-lookup-dropdown-field-in-add-edit-page/186 "2021-04-22T09:56:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcjohn137](https://forum.radsystems.io/user_avatar/forum.radsystems.io/mcjohn137/32/30_2.png) [@mcjohn137](https://forum.radsystems.io/u/mcjohn137)\
**Post date:** [April 22, 2021, 9:56am UTC](https://forum.radsystems.io/t/add-a-custom-lookup-dropdown-field-in-add-edit-page/186/1 "2021-04-22T09:56:50Z")

</div>

I have this dropdown fields whose value i want to update from another dropdown field in the add/edit page. The real issue is the this dropdown field is not link to data from the tcorresponding table. How can i go about that??

---

<div class="post-metadata">

**Author:** ![jp26198926](https://forum.radsystems.io/user_avatar/forum.radsystems.io/jp26198926/32/41_2.png) [@jp26198926](https://forum.radsystems.io/u/jp26198926)\
**Post date:** [April 23, 2021, 2:12pm UTC](https://forum.radsystems.io/t/add-a-custom-lookup-dropdown-field-in-add-edit-page/186/2 "2021-04-23T14:12:10Z")

</div>

Hi @mcjohn137

You can use javascript click events and use if else or switch statement.

> [@Click events & same field name from different tables](https://forum.radsystems.io/t/click-events-same-field-name-from-different-tables/125):
>
> Hi Guys, #classic using click events w/ same field name from other table - they will execute both at the same time since all clickevents code resides on 1 JS file only [5final2] Thanks,

Thanks,
