Hi,
I want to fire an event based rule if anyone clicks on the Enter key(keyboard) to get the search results. Anyone successfully created event based rule with keypress "event type". I tried muliple options but rule is not working. Can someone help me on this. Thanks in advance
Solved! Go to Solution.
Views
Replies
Total Likes
This snippet just worked for me
if (event.keyCode == 13){ return true; }
Since your event is on #search I don't think you need to reference #search again in the Custom Condition for something like this
Views
Replies
Total Likes
This snippet just worked for me
if (event.keyCode == 13){ return true; }
Since your event is on #search I don't think you need to reference #search again in the Custom Condition for something like this
Views
Replies
Total Likes
spectaprod wrote...
This snippet just worked for me
if (event.keyCode == 13){
return true;
}
Since your event is on #search I don't think you need to reference #search again in the Custom Condition for something like this
Thanks for the quick reply!
-Tacia
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies