Question

1
Replies
25
Views
Close popover
Shiva Raju Karrolla (ShivaRajuK1997)
S&P Global

S&P Global
IN
ShivaRajuK1997 Member since 2015 7 posts
S&P Global
Posted: June 8, 2019
Last activity: June 10, 2019
Closed

Key Enter is not working for Search functionality in Custom Control in Pega7.4

Hi,
We are upgrading from Pega 7.1.6 to 7.4. There is one custom control, it might written in pega 5, and supported in 7.1.6. But now it is not supporting.
We have a search bar and beside that one button, (these two things are handled in a custom control). Onclick or Keyboard press search activity should call.
<script language="javascript">
{literal}
function openPolicyItembyKeyPress(event)
{
if(event.keyCode==13)
{
SearchItem();
}
else
return;
<onclick functionality handled here>
<table>
<tr>
<td><input type="text" name="" value="" id="policynum" maxlength="10" onkeypress="openPolicyItembyKeyPress(event)"></td>
<td><input type="button" value="Find Policy Item" onclick="openPolicyItem()" ></td>
</tr>
</table>
Onclick is working good, but on keyboard click is not working.
Any help is needful.
Regards,
Shiva Karrolla
Data Integration Java and Activities
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.