CalcBuilder Forum

Calculation trigger with enter button

Usuario Panos512 2015-05-06 16:43:02

Hello,

I was wondering if there is support for calculation trigger on enter button press.

Thank you in advance,
Panos

Moonsoft support 2015-05-06 17:08:23

Hello,
you could add that function using the javascript tab. This code would click automatically 'calculate' button when enter key is detected:

CB(document).keyup(function(e) {
if(e.which == '13') {
CB("input").click();
}
});

Hope this helps, regards

Usuario Panos512 2015-05-06 17:30:33

It worked!

Thank you very much

...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!
...
List Manager

Build different lists for your site

Buy now!