Splunk gives validation warnings that unknown node submit not allowed here. Is there's any fixes for this
<form version="1.1" theme="dark">
<!-- Fieldset for dropdown input -->
<fieldset submitButton="true" autoRun="true">
<input type="dropdown" token="A_or_B" searchWhenChanged="false">
<label>Select A or B</label>
<default>A</default>
<choice value="A">A</choice>
<choice value="B">B</choice>
</input>
</fieldset>
<!-- Submit block, should be placed directly inside form -->
<submit>
<condition match="$A_or_B$ == "A"">
<set token="tokenX">1</set>
<set token="tokenY">2</set>
</condition>
<condition match="$A_or_B$ == "B"">
<set token="tokenX">3</set>
<set token="tokenY">4</set>
</condition>
</submit>
Hi @Dy4
There can only be a single Submit button which should be enabled in the fieldset by setting submitButton=true in the <fieldset> tag.
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing