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

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?