05-03-2020, 03:02 PM
Hi Alexandre,
Don't know if I see the complete picture.
I created an example
For the OnClick handler the hiddenfield is updated and sent to the server.
For OnAsyncClick this is not the case. No updated value is send to the server.
I thought a js call to AddChangedControl("formControlRange"); would be needed.
Don't know if I see the complete picture.
I created an example
- Added a HiddenField named 'formControlRange'
- A IWText holding the lines
Code:<label for="formControlRange">Example Range input</label>
<input type="range" min="1" max="100" class="form-control-range" id="formControlRange" name="formControlRange">
- Two buttons. One with OnClick handler and one with OnAsyncClick handler. Both with following code
Code:IWEdit1.Text := HiddenFields.Values['formControlRange'];
For the OnClick handler the hiddenfield is updated and sent to the server.
For OnAsyncClick this is not the case. No updated value is send to the server.
I thought a js call to AddChangedControl("formControlRange"); would be needed.