Hi,
I was wondering if there's a way to remove the invalid input beep sound when inputting alphanumeric on a numeric field.
We've created an AutoDropdown Extension for a client which enable the user to enter alphanumeric on a numeric field. This extension is a combination between an AutoComplete and a Dropdown extension. The user can input in alphanumeric in the field and based on the input a filtered list in dropdown will be shown. However, when a user types in the field, a beep sound is triggered since the autodropdown is alphanumeric and the original field which the AutoDropdown Extension is applied to is numeric. Is it possible in JQuery to resolve this issue to maybe intercept the string input and convert it to numeric?
Thanks.
Suppressing the beep sound where invalid data is entered into a field
Moderator: jeanmichel
Re: Suppressing the beep sound where invalid data is entered into a field
Hi
Is anything particular in that input field that make it beep? I just tried with a simple screen with numeric only fields, and if I try to type an alphanumeric character there, I don't get any beep, neither the character appear in the screen...
what version of aXes?
Is anything particular in that input field that make it beep? I just tried with a simple screen with numeric only fields, and if I try to type an alphanumeric character there, I don't get any beep, neither the character appear in the screen...
what version of aXes?
Re: Suppressing the beep sound where invalid data is entered into a field
Hi Dino,
Thank you for your response. I'm very sorry for the late response. I was assigned to a different project and was unable to get back to this.
I've created a sample video of my issue. Please see URL below.
https://drive.google.com/file/d/1vvJuBv ... sp=sharing
I think the version we are using is AXES 4.20.
Thanks,
Rigor
Thank you for your response. I'm very sorry for the late response. I was assigned to a different project and was unable to get back to this.
I've created a sample video of my issue. Please see URL below.
https://drive.google.com/file/d/1vvJuBv ... sp=sharing
I think the version we are using is AXES 4.20.
Thanks,
Rigor
-
Fairdinkum
- Posts: 128
- Joined: 24 Jul 2017, 17:02
Re: Suppressing the beep sound where invalid data is entered into a field
Hi,
Sorry for cutting in, it seems this extension is working as HTML5 <datalist> tag, I presume. (Actually I have prepared the DataList extension as well in house.) If my understanding is corrrect, the problem is that unexpected strings (say, the trailing "=Edit") are posted with the expected value (say, "2") combined to the host, and then it fails with beep due to the data type missmatching. In my case, adding the datalist extension as an user field and its onSelectedValueChanged property should be something like the following.
(onFillDropDown)
Result will be:
https://drive.google.com/file/d/1v1YC64 ... sp=sharing
DataList is consists of <input> tag, <datalist> tag and <option> tag pairs, and the <input> contains all the string. This is a big difference from DropDown extension, I think. I understand it's hustling to add the extension as an user field to each 5250 subfile column fields, but it would be worth to do so for your testing.
HTH!
Regards,
Hide
Sorry for cutting in, it seems this extension is working as HTML5 <datalist> tag, I presume. (Actually I have prepared the DataList extension as well in house.) If my understanding is corrrect, the problem is that unexpected strings (say, the trailing "=Edit") are posted with the expected value (say, "2") combined to the host, and then it fails with beep due to the data type missmatching. In my case, adding the datalist extension as an user field and its onSelectedValueChanged property should be something like the following.
Code: Select all
var v = FIELD.getValue();
if ( v.indexOf(":") >= 0 ){
FIELDS("ifld1407").setValue( v.split(":")[0].trim() );
}
Code: Select all
ENV.returnValue = ROW.value + ": " + ROW.text;
https://drive.google.com/file/d/1v1YC64 ... sp=sharing
DataList is consists of <input> tag, <datalist> tag and <option> tag pairs, and the <input> contains all the string. This is a big difference from DropDown extension, I think. I understand it's hustling to add the extension as an user field to each 5250 subfile column fields, but it would be worth to do so for your testing.
HTH!
Regards,
Hide