I am using simple XML and I need to submit a search I have defined in a radio button. I need to do this with a Submit button without changing the Time Picker. Currently, I can make the radio button selection and change the Time Picker, and THEN the Submit button and get a result. What I NEED to do is re-initiate the search without changing the time picker.
How can I accomplish this?
The following is a snip of the XML code:
<form>
<label>AppName</label>
<description>WhatItDoes</description>
<fieldset submitButton="true">
<input type="radio" token="field1" searchWhenChanged="false">
<label>Anomaly Type</label>
<choice value="foo1">Foo1</choice>
<choice value="foo2">Foo2</choice>
<choice value="">None</choice>
<search>
<query>| script $field1$</query>
<earliest>0</earliest>
</search>
<fieldForLabel>test</fieldForLabel>
<fieldForValue>test</fieldForValue>
</input>
<input type="time" token="field2">
<label></label>
<default>
<earliest></earliest>
<latest></latest>
</default>
</input>
</fieldset>
... View more