I can't get the auto fill summary script to work

Kyle Cianchette May 31, 2012

so I don't want to use summary, and I put

<script type="text/javascript">

if (document.getElementById("Summary").value == "") {

document.getElementById("Summary").value = "RCA";

}

document.getElementById("summaryFieldArea").style.display = "none"

</script>

into the description and it did nothing. Does this still work?

2 answers

1 vote
Jobin Kuruvilla [Adaptavist]
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 31, 2012

Try this:

&lt;script type="text/javascript"&gt;
if (AJS.$("#summary").val().length &lt;= 0){
 AJS.$("#summary").val("RCA");
}
&lt;/script&gt;

0 votes
Kyle Cianchette May 31, 2012

I uploaded a picture to see if it's right

Suggest an answer

Log in or Sign up to answer