Changing Field Background Color with dependancies


why getting syntax error 7?

 

var red10=this.getfield ("red10").value;

var n36=this.getfield ("n36").value;

var n37=this.getfield ("n37").value;

var p28=this.getfield ("p28").value;

var l30=this.getfield ("l30").value;

(function (){

if (p28)>=(n36)

&&

if (p28)<=(n37)

&&

if(red10)>=(l30)

event.target.fillcolor=color.yellow;

})();

 

thanks

dkm

check syntax.



More discussions in JavaScript


adobe

Comments

Popular posts from this blog

Extracting portions of an image

shape alpha vs layer alpha in cc library

Photoshop CC 2017 - Ruler Tool - Error 8007...