I am trying to create a clear button for my dashboard but none of the XML I have written has worked. I have one date and time drop down and two drop down to follow. After those I have six text input fields then a submit button. I am trying to have a clear or reset button to follow to remove the text from the input. Does anyone have any thoughts on how this should be done?
<done>
<unset token="update_user_tok"></unset>
<unset token="update_index_tok"></unset>
<unset token="update_date_tok"></unset>
<unset token="update_exptime_tok"></unset>
</done>
<fieldset resetButton="true" autoRun="false">
Hi
check @niketnilay solution from the below link
https://answers.splunk.com/answers/791670/reusable-script-reset-all-tokens-with-a-single-cli.html
Hi
check @niketnilay solution from the below link
https://answers.splunk.com/answers/791670/reusable-script-reset-all-tokens-with-a-single-cli.html
Thank you, it worked like a charm.
please upvote @niketnilay solution