# Auto Submit Inline Edit

**URL:** <https://forums.knack.com/t/auto-submit-inline-edit/13537>\
**Category:** Get Answers\
**Created:** [December 19, 2022, 8:53am UTC](https://forums.knack.com/t/auto-submit-inline-edit/13537 "2022-12-19T08:53:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HarryR](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/harryr/32/1706_2.png) [@HarryR](https://forums.knack.com/u/HarryR)\
**Post date:** [December 19, 2022, 8:53am UTC](https://forums.knack.com/t/auto-submit-inline-edit/13537/1 "2022-12-19T08:53:40Z")

</div>

Hi all,

I’m trying to get my inline edits to auto submit when the dropdown is changed. I’ve tried this (just trying to log the changes to the dropdown for now, as step 1):

```auto
$(document).on('knack-view-render.view_294', function(event, scene, records) {
  $('#view_294_celleditor-field_248').change(function() {
    console.log('SUCCESS');
  });
});

```

This doesn’t work and I’m assuming it’s something to do with the knack-view-render not picking up the inline edit modal pop-ups? Any help would be very much appreciated 🙂

---

<div class="post-metadata">

**Author:** ![Sunny\_Singla](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/sunny_singla/32/1007_2.png) [@Sunny\_Singla](https://forums.knack.com/u/Sunny_Singla)\
**Post date:** [December 19, 2022, 2:37pm UTC](https://forums.knack.com/t/auto-submit-inline-edit/13537/2 "2022-12-19T14:37:16Z")

</div>

try below code

$(‘#view\_294\_celleditor-field\_248’).live(“change”, function() {  
$(“.drop .kn-button”).trigger(“click”);  
console.log(‘SUCCESS’);  
});

---

<div class="post-metadata">

**Author:** ![HarryR](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/harryr/32/1706_2.png) [@HarryR](https://forums.knack.com/u/HarryR)\
**Post date:** [December 19, 2022, 3:00pm UTC](https://forums.knack.com/t/auto-submit-inline-edit/13537/3 "2022-12-19T15:00:38Z")

</div>

Hi Sunny,

Thanks for your help. I’ve tried your code and it works better than mine but is still not quite right. It’s currently just auto-submitting the inline edit box as soon as it’s opened.

Thanks,  
Harry

---

<div class="post-metadata">

**Author:** ![Sunny\_Singla](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/sunny_singla/32/1007_2.png) [@Sunny\_Singla](https://forums.knack.com/u/Sunny_Singla)\
**Post date:** [December 19, 2022, 3:04pm UTC](https://forums.knack.com/t/auto-submit-inline-edit/13537/4 "2022-12-19T15:04:42Z")

</div>

I think you need to select values from the dropdown. then submit.

Above provided code work when you make change in dropdown and it auto submit no need toc liuck button

---

<div class="post-metadata">

**Author:** ![Sunny\_Singla](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/sunny_singla/32/1007_2.png) [@Sunny\_Singla](https://forums.knack.com/u/Sunny_Singla)\
**Post date:** [December 19, 2022, 3:05pm UTC](https://forums.knack.com/t/auto-submit-inline-edit/13537/5 "2022-12-19T15:05:44Z")

</div>

you can try then  
$(‘#view\_294\_celleditor-field\_248’).live(“change”, function() {

console.log(‘SUCCESS’);  
});
