Hello, Is there a way that pressing Enter-Key will be focus to the next Control instead of Tab-Key… Its much more productive and fast for encoding of more fields…
I’ve already tried the Javascript but i’m not good in this script… I know that nothing is impossible in WiseJ, but can u give an idea or script that can fix my problem…
Here the script that i’ve tried:
this.addListener(“keypress”, function (event) {
if (event.getKeyIdentifier() == “Enter”) {
var form = event.target.form;
var index = Array.prototype.indexOf.call(form, event.target);
form.elements[index + 1].focus();
event.preventDefault();
}
});
Thanks
Hi Junarism
Thanks for your question
For this case is necessary a workaround to the normal of Wisej to manage the standar moving within controls.
This is because core design in the Qooxdoo javascript framework that Wisej use for manage the browser controls are very difficult to modify.
In the atached sample, you can see an additional javascript file that provide the desired functionality.
You can avance with Enter and reverse with Shift-Enter
Hope to be help
Regards
Wow this is what i’m looking for… Its a big help to my needs…. WiseJ is the best…
Thank you very much sir….
Please login first to submit.