Dashboards & Visualizations

Submit node not allowed inside form

Dy4
New Member

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$ == &quot;A&quot;">
<set token="tokenX">1</set>
<set token="tokenY">2</set>
</condition>
<condition match="$A_or_B$ == &quot;B&quot;">
<set token="tokenX">3</set>
<set token="tokenY">4</set>
</condition>
</submit>

Microsoft 365 App for Splunk 

Labels (2)
0 Karma

livehybrid
Super Champion

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:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma
Get Updates on the Splunk Community!

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco &#43; Splunk! We’ve ...

Enterprise Security Content Update (ESCU) | New Releases

In April, the Splunk Threat Research Team had 2 releases of new security content via the Enterprise Security ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...
OSZAR »