The easiest way to set/unset "options" using checkbox is by using a single eval statement to set/unset the token - note searchWhenChanged=true. <input type="checkbox" token="reqIdFilter" searchWhenChanged="true">
<label></label>
<choice value="enable_id_filter">Enable</choice>
<change>
<eval token="showReqIdFilter">if(match($reqIdFilter$, "enable_id_filter"), "true", null())</eval>
<set token="form.RequestId"></set>
</change>
</input>
<input type="text" token="RequestId" depends="$showReqIdFilter$">
<label>RequestId</label>
</input> This also clears the RequestId token if you toggle the Enable checkbox. In your search just leave the $RequestId$ in there. It will be cleared when you click the box so will just be an empty string
... View more