46.6 GET_INPUT_NAME_FOR_ITEM Function
Returns the name attribute that must be used for an HTML input element if you want that value stored in session state when the page is submitted.
Syntax
APEX_PLUGIN.GET_INPUT_NAME_FOR_ITEM
RETURN t_input_name;Example
The following example outputs the necessary HTML code to render a text field where the value gets stored in session state when the page is submitted.
sys.htp.prn (
'<input type="text" id="'||p_item.name||'" '||
'name="'||apex_plugin.get_input_name_for_item(false)||'" '||
'value="'||sys.htf.escape_sc(p_value)||'" '||
'size="'||p_item.element_width||'" '||
'maxlength="'||p_item.element_max_length||'" '||
coalesce(p_item.element_attributes, 'class="text_field"')||' />' );Parent topic: APEX_PLUGIN