Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

OnSubmit error on a table

test1101
Tera Contributor

Hi there, 

I am doing some configurations on the Impact Analysis (sn_bia_analysis) table. However, I encountered the following OnSubmit script error when creating email notification or UI Policy on this table:

 

onSubmit script error: TypeError: Cannot read properties of undefined (reading 'options'):
function() {

      var hinput = $(ref);
      var cfilter = getFilter(ref);
      hinput.value = unescape(cfilter);
      CustomEvent.fire("sys_mapping:on_cond_submit::" + ref, { value: hinput.value, ref: ref });
     }

 

Does anyone knows how to fix this error? 

Your help is highly appreciated. Thanks!

 

test1101_0-1703820256865.png

 

4 REPLIES 4

Siddhesh Gawade
Mega Sage
Mega Sage

Hii @test1101 , 

Are you able to find the client script were this script used? If you find that, it will make resolution much easier.

Hi Siddhesh,

I have tried finding the client script of this error but not able to locate it. There is no onSubmit client script for the sn_bia_analysis table nor any client script record containing the script displayed in the error.

samadam
Kilo Sage

Are you able to resolve this issue? I am having the same issue.

I suggest you start a new thread here, with steps-to-reproduce.

 

tips-on-asking-question-on-community