cancel
Showing results for 
Search instead for 
Did you mean: 

get value

Former Member
0 Kudos

Hi Experts,

how can i get user given value in input field using HTML

Accepted Solutions (1)

Accepted Solutions (1)

former_member188685
Active Contributor
0 Kudos

Using the method get_form_fields you can read the value. but make sure you have specified the id for the html input element. using the id you can read the value from the form fields.

data: fields type tihttpnvp.

request->get_form_fields(
  changing
    fields             = fields
       ).
read table fields into wa_field with key name = 'idofinput'.
if sy-subrc eq 0.
 "wa_field-value will hold the value of the input field.
endif.

now loop/read the fields with the id and get the value .

Former Member
0 Kudos

hi how can i get this using Java scirpt

former_member184111
Active Contributor
0 Kudos

Hi ,

document.getElementById.inputfieldID.value

Regards,

Anubhav.

Answers (0)