on 07-03-2014 11:11 AM
Hi,
I am developing BSP pages and trying to retrieve data from user input with OnInputProcessing event.
My code block is ;
<body>
<form method="post" name="form" id="form" >
<input type="text" class="form-control" id="input1" name="OnInputProcessing(a1)">
<button type="submit" name="OnInputProcessing(a2)" class="btn btn-default" id="button1" value="buttonvalue">Button</button>
</form>
</body>
OnInputProcessing Event;
DATA: fields TYPE tihttpnvp
.
CALL METHOD request->if_http_entity~get_form_fields
CHANGING
fields = fields.
Fields table is only return;
Name Value
oninputprocessing a1
oninputprocessing a2
I want to retrieve the data which is entered the input1 field.
I am not sure if the problem is this, but try to use another name for HTML input field. The current value is OnInputProcessing(a1), change it to param1, for example and check if the value is correctly sent to the server.
Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.