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
SplunkTrust
SplunkTrust

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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...