Format text fields based on radio button selection


(newbie) have form, part of uses 5 (5) radio button choices.  if "choice5" selected want field "x" (somewhere else in form) show red border.

need javascript action.

thanks!

add code mouse action each of radio-buttons:

 

this.getfield("x").strokecolor = event.target.valueasstring=="5" ? color.red : color.black;



More discussions in PDF Forms


adobe

Comments

Popular posts from this blog

Thread: Firefox print dialog doesn't remember settings

Error 400 - Photoshop services are not available

After Effects error:creating resource file on Windows