How to set value in the hr profile table field when the form is submitted

Sumer Sharma
Tera Contributor

Hi All,

I have a requirement, when the user submits the form through the portal, there is one field on the portal named "npi". I want this field value to be set in the HR profile table record. I have created an npi(u_npi) field on hr profile table, so the value gets updated in this field for the particular user. For this, I have created an onsubmit client script and the script include. Please let me know where is the issue in my code as it is not working as expected.

Thank you!

SumerSharma_0-1722922763410.png

 

SumerSharma_1-1722922864894.png

 

2 REPLIES 2

Bhavya11
Kilo Patron

hi @Sumer Sharma ,

 

one question is your Script include is client callable true right?.

 

 

Thanks,

BK

yes its client callable