invisible

The invisible option for inputfields hides the field's output.

The invisible option conceals the field's values by replacing the input field's output with a row of asterisks. The syntax is as follows:

{"invisible":true}
Note: The invisible option will over-ride the maxlength option if they are used together.

Examples

To demonstrate the invisible option, please do the following:

  1. Open the Easy Access script file (SAPLSMTR_NAVIGATION.E0100.sjs) and enter the following code. Create the script file if it does not already exist.

    inputfield([4,5], "Inputfield Test", [4,20], {"name":"inpfld_1", "size":14});
  2. Save the changes and refresh the SAP screen.

  3. Type some text in the field.
  4. The screen now appears as follows:



  5. To demonstrate the invisible option, re-open the script file and change the code by adding the invisible option as shown below:

    inputfield([4,5], "Inputfield Test", [4,20], {"name":"inpfld_1", "size":14, "invisible":true});
  6. The screen now appears as follows: