Dashboards & Visualizations

Checkbox value to another token with searchWhenChanged=false

Path Finder

I cannot make this work if I have the searchWhenChanged=false. I would like to set the token and do the search only after Submit button is pressed.



<form script="simple_xml_examples:showtokens.js">
  <label>Set another token by checkbox value</label>
  <fieldset submitButton="true">
    <input type="checkbox" token="checked" searchWhenChanged="false">
      <choice value="yes">Check for yes</choice>
        <condition value="yes">
          <eval token="checked_result_value">if(true(), $form.checked$, "never_here"</eval>
          <eval token="checked_result_value">"NotChecked"</eval>
          <query>| makeresults | eval value="$checked_result_value$"</query>


Labels (1)
0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!