problem with javascript in custom field

malli pagada May 13, 2012


<script type="text/javascript">

function validateFunding(){
return false;
//alert("In onsubmit");
}

document.getElementsByTagName("Create").onclick=validateFunding;

</script>
without checking validation ,it is submiting page.... please help me

1 answer

0 votes
CEDRIC ZABEL
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2012

Are you doing this on Jira 5.0? There are problems with your approach in Jira 5.0. I raised a related question recently on this forum: https://answers.atlassian.com/questions/54239/in-jira-5-how-can-i-do-javascript-validation-on-the-quick-edit-edit-and-create-screens .

Suggest an answer

Log in or Sign up to answer