Hello,
I have a form that has two numeric fields, when the form loads the fields appear with a 0
I was able to get rid of this.
I was trying to add to my script that when the enter key is pressed the cursor clears the 0 and goes to the next field but looks like something is a miss and have been spinning my wheels for a while, any kind of help is much welcomed.
here is what I have
I have a form that has two numeric fields, when the form loads the fields appear with a 0
I was able to get rid of this.
I was trying to add to my script that when the enter key is pressed the cursor clears the 0 and goes to the next field but looks like something is a miss and have been spinning my wheels for a while, any kind of help is much welcomed.
here is what I have
Code:
var ctrlTotal = Runner.getControl(pageid, 'QTY');
var ctrlSUM = Runner.getControl(pageid, 'SQTY');
function init() {
// Clear forms here
ctrlTotal.setValue("");
}
window.onload = init;
$(document).keydown(function(e) {
if (e.keyCode == 13)
{
function init() {
// Clear forms here
ctrlSUM.setValue("");
}
window.onload = init;
}
});