asked on November 14
Is there a way to use Forms Designer JavaScript to set focus on a certain field?
I have a field where a Bluetooth scanner inserts a barcode value, and a JavaScript button that when clicked will clear out the value so the next barcode can be scanned. It would be great if I could also get it to set the focus back on the barcode field when the button is clicked so users don't have to click on it each time.
//Clear barcode field when button is clicked
window.clearBarcode = function () {
LFForm.setFieldValues({fieldId: 7}, "");
};
0
0