Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

What is the correct way of using Form Validation in Jira?

Hi everyone,

I am implementing a custom plugin with a configuration section in the admin page. The configuration includes a form I would like to validate using this:

Here is what I have in my atlassian-plugin.xml

<web-resource key="eng-sla-calculator-resources" name="eng-sla-calculator Web Resources">


<transformation extension="js">
<transformer key="jsI18n"/>
<resource type="download" name="eng-sla-calculator-jira.css" location="/css/eng-sla-calculator-jira.css"/>
<resource type="download" name="eng-sla-calculator-jira.js" location="/js/eng-sla-calculator-jira.js"/>
<resource type="download" name="images/" location="/images"/>


And here there is the beginning part of my .vm file:






This is how I'm trying to validate my input fileds inside a form

 <input type="text" name="soglia_temporale1" class="text form-data" data-aui-validation-field data-aui-validation-required="required"/>

Nothing happens... at least I would expect the "*" to tell the user the field is mandatory.... what is the correct configuration to make the Form validation module work?

Thank you



1 answer

0 votes

Hi @Giorgia Fineschi Did you figure this out?? I have similar issue 

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you