The name option for inputfields defines the variable name for the inputfield.
The name option defines a variable by which teh field can be referenced. The syntax is as follows:
{"name":"field_variable_name"}
To demonstrate the name option, please do the following:
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");
You can now refer to the field by means of the variable name.