cancel
Showing results for 
Search instead for 
Did you mean: 

Searchhelp (OVS) Problem

Former Member
0 Kudos

I am using severalOVS Search Helps which all do work fine. The requirements are the following: the underlying inputfuield should be read only. If set the input field to read only, the OVS can´t add any values to the field anymore. How can I implement OVS enabled input fields which are not changeable except from OVS inputs.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Would you try this, modify the "readonly" to "TRUE" property to try when call the ovs help, and set it back to "FALSE" after select one line.

For example:

IWDInputField input = (IWDInputField)view.getElement("N_GST");

input.setReadOnly(true);

Message was edited by: Lingxing Meng

thomas_szcs
Active Contributor
0 Kudos

Hi Alexander,

Why would you do this? Marking a field as readonly tells a user that he/she was not able to enter anything. From the perspective of usability having readonly fields with "hidden ways" of changing a value is a bad idea. Moreover, if the input field is not readonly, the user will be able to enter a value directly. Most experienced users know exactly what to enter and are usually faster using the keyboard than clicking themselves through several popups.

Best regards,

Thomas