Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to read formControlRange Value after pressing a button
#11
Hi Alexandre,

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.
Reply


Messages In This Thread
RE: How to read formControlRange Value after pressing a button - by jeroen.rottink - 05-03-2020, 03:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)